diff options
author | rinpatch <rinpatch@sdf.org> | 2019-10-19 00:37:39 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-10-19 00:37:39 +0300 |
commit | 901bf0fb8c5407a3e74bc782e8eb28eb47dab6ef (patch) | |
tree | 70721e8f847f603b6262a6c8017984591eb9453e /rel/files | |
parent | c2f1cc4f165d4a5c23599c127300f325322fbfad (diff) | |
download | pleroma-901bf0fb8c5407a3e74bc782e8eb28eb47dab6ef.tar.gz |
pleroma_ctl: Fix attempting to use RPC for config generation
Diffstat (limited to 'rel/files')
-rwxr-xr-x | rel/files/bin/pleroma_ctl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rel/files/bin/pleroma_ctl b/rel/files/bin/pleroma_ctl index 90f87a990..9fc5b0bad 100755 --- a/rel/files/bin/pleroma_ctl +++ b/rel/files/bin/pleroma_ctl @@ -141,8 +141,8 @@ else ACTION="$1" shift - - if [ "$(echo \"$1\" | grep \"^-\" >/dev/null)" = false ]; then + echo "$1" | grep "^-" >/dev/null + if [ $? -eq 1 ]; then SUBACTION="$1" shift fi |