Update nodemgmt-scripts.sh
This commit is contained in:
@@ -182,7 +182,7 @@ STATUS(){
|
|||||||
srvctst=(`${NCMD} systemctl is-active ${srvcstotest}`)
|
srvctst=(`${NCMD} systemctl is-active ${srvcstotest}`)
|
||||||
echo "H1: ${srvcstotest}"
|
echo "H1: ${srvcstotest}"
|
||||||
echo "H2: $srvctst"
|
echo "H2: $srvctst"
|
||||||
echo "H3: $srvctst[0] $srvctst[1] $srvctst[2] $srvctst[3]"
|
echo "H3: $srvctst[0] ${srvctst[1]} ${srvctst[2]} ${srvctst[3]}"
|
||||||
sr=0
|
sr=0
|
||||||
for srvc in "${!srvcs}"; do
|
for srvc in "${!srvcs}"; do
|
||||||
if [ "${ST_ACTION}" != "check" ]; then
|
if [ "${ST_ACTION}" != "check" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user