diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 2aa16826..09516fe0 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -63,7 +63,7 @@ STATUS() { spc1=${cw}-${#NM_SERVICES[${srvc}]} until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en " ${NM_SERVICES[${srvc}]}$spc: " - f [ "$(systemctl is-active ${srvc})" = "active" ]; then + if [ "$(systemctl is-active ${srvc})" = "active" ]; then echo -e "${idsCL[Green]}Running${idsCL[Default]}" rm -f ${FOLDER}/localhost-${srvc}.down else