diff options
author | rinpatch <rinpatch@sdf.org> | 2019-10-18 21:40:07 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-10-18 21:40:07 +0000 |
commit | 0341f6f779fa60a55eb824507930691b0894d181 (patch) | |
tree | 6c6bbb18403cae8cba81e402001fd782e468a5ad /rel/files/bin | |
parent | c25a81b173a2c188d5ffc55bf5aa56281a084066 (diff) | |
parent | 901bf0fb8c5407a3e74bc782e8eb28eb47dab6ef (diff) | |
download | pleroma-0341f6f779fa60a55eb824507930691b0894d181.tar.gz pleroma-0341f6f779fa60a55eb824507930691b0894d181.zip |
Merge branch 'fix/pleroma-ctl-rpc' into 'develop'
pleroma_ctl: Fix attempting to use RPC for config generation
See merge request pleroma/pleroma!1862
Diffstat (limited to 'rel/files/bin')
-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 |