diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index cfa73a14..01c2a826 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -26,9 +26,10 @@ STATUS() { else NHCMD='' fi if [ "${1}" = "report" ]; then - idsCL='' - idsBG='' - idsST='' + unset idsCL idsBG idsST + idsCL=('') + idsBG=('') + idsST=('') fi # for nip in "${NODE_HOSTS[@]}"; do # if [ "${nip}" = '10.5.10.51' ] && [ ! -z ${LOCAL_SERVICES+x} ]; then isreplhost=true; else isreplhost=false; fi