Update nodemgmt-scripts.sh

This commit is contained in:
2023-04-27 10:02:01 -05:00
parent 3a3ad21dde
commit 3420967e7d

View File

@@ -182,7 +182,7 @@ STATUS(){
srvctst=(`${NCMD} systemctl is-active ${srvcstotest}`)
echo "H1: ${srvcstotest}"
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
for srvc in "${!srvcs}"; do
if [ "${ST_ACTION}" != "check" ]; then