diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index db155bd3..716116d3 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1304,7 +1304,7 @@ SERVICE(){ if [ "${1}" = "nginx" ]; then - if [ [ "${2}" = "restart" ] || [ "${2}" = "reload" ] && [ "${3}" != "ns" ]; then + if [ [ "${2}" = "restart" ] || [ "${2}" = "reload" ] ] && [ "${3}" != "ns" ]; then if [ "${3}" != "q" ]; then echo -en "${idsCL[LightYellow]}Waiting for nginx config replication across the nodes... ${idsCL[Default]}" fi