diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 3569634c..047a553f 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -762,9 +762,13 @@ DOWNLIST(){ echo if [ "${1}" == "ignore" ]; then + IFS=$'\n' + read -rd '' -a DOWNLIST <<<"${DOWN_LIST}" + unset IFS + echo -en "${idsCL[LightCyan]}Enter # to change notifications: ${idsCL[Default]}" read -n 1 choice - echo "HERE: ${DOWN_LIST[${choice}]}" + echo "HERE: ${DOWNLIST[${choice}]}" fi fi