diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 797f3c8a..ca0550d7 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -710,7 +710,7 @@ DOWNLIST(){ if [ "${1}" != "report" ]; then echo -en "\n\033[K${idsCL[LightCyan]}Enter # to change notifications [${idsCL[Default]}(${idsCL[LightYellow]}E${idsCL[Default]})xit${idsCL[LightCyan]}] : ${idsCL[Default]}" - read -n 1 choice + read choice else choice=E fi @@ -865,7 +865,7 @@ MAINTENANCE_MODE(){ done echo -en "\n\033[K${idsCL[LightCyan]}Enter # to change notifications [${idsCL[Default]}(${idsCL[LightYellow]}E${idsCL[Default]})xit${idsCL[LightCyan]}] : ${idsCL[Default]}" - read -n 1 choice + read choice [ "${choice^^}" == "E" ] && break done