Update nodemgmt-scripts.sh

This commit is contained in:
2019-01-27 21:55:08 -06:00
parent 2aad137d2b
commit 291d4cf544

View File

@@ -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