Update nodemgmt-scripts.sh
This commit is contained in:
@@ -182,7 +182,7 @@ STATUS(){
|
|||||||
fi
|
fi
|
||||||
srvctst=$(${NCMD} systemctl is-active ${srvc})
|
srvctst=$(${NCMD} systemctl is-active ${srvc})
|
||||||
echo "${NCMD} systemctl is-active ${srvc} = ${srvctst}"
|
echo "${NCMD} systemctl is-active ${srvc} = ${srvctst}"
|
||||||
if [ "${srvctst}" == "active" ]; then
|
if [ "${srvctst}" = "active" ]; then
|
||||||
echo "yes"
|
echo "yes"
|
||||||
else
|
else
|
||||||
echo "no"
|
echo "no"
|
||||||
|
|||||||
Reference in New Issue
Block a user