Update nodemgmt-scripts.sh

This commit is contained in:
2022-12-03 22:09:06 -06:00
parent 9ead2963f1
commit 3a883ad963

View File

@@ -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"