From f1e26a50493ce7a737f33944b859a93b991fb3cb Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 8 Nov 2023 21:19:35 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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