From 0347ff8cb4b49c65ebcd3e8ed0891e5e4603443c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 8 Nov 2023 23:06:44 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 163d8461..36af6a01 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -759,8 +759,7 @@ DOWNLIST(){ if [ "${1}" != "ignore" ]; then echo -e "${idsCL[LightRed]}${itemname}${spc}${host}${spc2}$(SHOW_TIME ${toterrtime})${idsCL[Default]}" else - echo "HERE: ${is} `expr ${choice} - 1`" - [ ${is} -eq `expr ${choice} - 1` ] && touch ${NM_TMPFOLDER}/${ditem}.disable + [ "${choice}" != "" ] && [ ${is} -eq `expr ${choice} - 1` ] && touch ${NM_TMPFOLDER}/${ditem}.disable [ ${is} -lt 10 ] && ignsel=" ${is}) " || ignsel="${is}) " [ -f ${NM_TMPFOLDER}/${ditem}.disable ] && dstatus="OFF" || dstatus="${idsCL[Yellow]}on"