projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pleroma_ctl: Fix attempting to use RPC for config generation
[akkoma]
/
rel
/
files
/
bin
/
pleroma_ctl
diff --git
a/rel/files/bin/pleroma_ctl
b/rel/files/bin/pleroma_ctl
index 90f87a9909ed3960976019088645119c8958a917..9fc5b0bad8a0a64ec2ea9ace3887ff79ca95028c 100755
(executable)
--- 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