diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 28ea9c3c..dbd57121 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -182,7 +182,7 @@ STATUS(){ fi srvctst=$(${NCMD} systemctl is-active ${srvc}) echo "${NCMD} systemctl is-active ${srvc} = ${srvctst}" - if [ "${srvctst}" == "active" ]; then + if [ "${srvctst}" = "active" ]; then echo "yes" else echo "no"