Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user