From 3a883ad96356c9a33268978f35eb08075143c161 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 3 Dec 2022 22:09:06 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"