aboutsummaryrefslogtreecommitdiff
path: root/rel/files/bin/pleroma_ctl
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-10-18 21:44:14 +0000
committerrinpatch <rinpatch@sdf.org>2019-10-18 21:44:14 +0000
commit9b26d1608f5ddd64a146dec3c41b029c1b7a4198 (patch)
tree201a2106aa0e7d9c38a97182c07653732eae84d8 /rel/files/bin/pleroma_ctl
parentbb73f100b8b29d2cbe5573b766166ebb085dcc86 (diff)
parent59d447d5558ee88fa1ad479b87d14b7276547fb8 (diff)
downloadpleroma-1.1.2.tar.gz
Merge branch 'release/1.1.2' into 'stable'v1.1.2
1.1.2 Release See merge request pleroma/pleroma!1863
Diffstat (limited to 'rel/files/bin/pleroma_ctl')
-rwxr-xr-xrel/files/bin/pleroma_ctl4
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