fixed syntax error in bash script

This commit is contained in:
Bernhard B
2021-09-12 18:10:04 +02:00
parent 0755b96535
commit b20fb09653

View File

@@ -19,7 +19,8 @@ cap_prefix="-cap_"
caps="$cap_prefix$(seq -s ",$cap_prefix" 0 $(cat /proc/sys/kernel/cap_last_cap))"
# TODO: check mode
if [ "$MODE" == "json-rpc" ]
if [ "$MODE" = "json-rpc" ]
then
/usr/bin/jsonrpc2-helper
service supervisor start
supervisorctl start all