From fd049c5140ab908fb7f8ddf4e19c25fc64b981c5 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 7 Feb 2019 16:57:46 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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