pleroma_ctl: Fix attempting to use RPC for config generation
This commit is contained in:
parent
c2f1cc4f16
commit
901bf0fb8c
2 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue