From 80c1e4b0858a0c27edd9d537610942efaf05705d Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 3 Jul 2023 22:14:27 -0500 Subject: [PATCH] Update defaults.inc --- defaults.inc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/defaults.inc b/defaults.inc index 10dfe094..1765eafa 100755 --- a/defaults.inc +++ b/defaults.inc @@ -33,7 +33,6 @@ if [ -f ${FOLDER}/defaults.local.inc ]; then WEB_SINGLESRVR_SERVICES=(${WEB_SINGLESRVRSERVICES}) WEB_SINGLESRVR_DOCKERS=(${WEB_SINGLESRVRDOCKERS}) - unset IFS declare -a NODE_TYPES @@ -45,18 +44,20 @@ if [ -f ${FOLDER}/defaults.local.inc ]; then arr ${ntype}_HOSTS arr ${ntype}_SERVICES_CHECK - IFS=,; var=(${NM_HOSTS[${ntype}]}) unset IFS + var=(${NM_HOSTS[${ntype}]}) for value in "${var[@]}"; do arr_insert ${ntype}_HOSTS $value done - IFS=,; var=(${NM_SERVICES_CHECK[${ntype}]}) unset IFS + var=(${NM_SERVICES_CHECK[${ntype}]}) for value in "${var[@]}"; do arr_insert ${ntype}_SERVICES_CHECK $value done done - + + unset IFS + fi