From 291d4cf544e310e8e9443f62949d5eadd52e290d Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 27 Jan 2019 21:55:08 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index cd8a6e4f..92d523d0 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -9,7 +9,7 @@ source /opt/idssys/nodemgmt/settings.conf source /opt/idssys/defaults/colors.inc source /opt/idssys/defaults/default.inc -IFS=',' +IFS=, node_hosts=(${node_hosts}) unset IFS @@ -79,7 +79,7 @@ case "$1" in STA="$(tr '[:lower:]' '[:upper:]' <<< ${3:0:1})${3:1}" echo -e "${idsCL[LightGreen]}[[${SER} ${STA}ing]]${idsCL[Default]}" - for i in "${node_hosts}" + for i in "${node_hosts{@}}" do echo "Here: ${i}" done