unexpected operator
Please help sort this issue, I have spend 2 days with no luck
root@phpcryptobot:~/PHPTradingBot# sh services.sh services.sh: 3: [: =: unexpected operator services.sh: 31: [: =: unexpected operator services.sh: 63: [: =: unexpected operator services.sh: 68: [: =: unexpected operator
replace those line with double "[[ ]]" in the services.sh file like this if [[ $1 = "daemon" ]]; then
Hi thank you for help, but it doesn't help, another issue coming up
services.sh: 3: services.sh: [[: not found services.sh: 31: [: =: unexpected operator services.sh: 63: [: =: unexpected operator services.sh: 68: [: =: unexpected operator
Hello,
Replace [ $1 = "daemon" ] to [ "$1" = "daemon" ];