From 8168484ccc2e52d4c00be04ca0371a03c92112ef Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 8 Nov 2023 23:30:06 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index ffa69130..a6b2fb09 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -758,7 +758,7 @@ DOWNLIST(){ if [ "${1}" != "ignore" ]; then echo -e "${idsCL[LightRed]}${itemname}${spc}${host}${spc2}$(SHOW_TIME ${toterrtime})${idsCL[Default]}" else - if [ "${choice}" != "" ] && [ ${is} -eq ${choice} ]; then + if [ "${choice}" -gt 0 ] 2>/dev/null && [ ${is} -eq ${choice} ]; then [ ! -f ${NM_TMPFOLDER}/${ditem}.disable ] && touch ${NM_TMPFOLDER}/${ditem}.disable || rm -f ${NM_TMPFOLDER}/${ditem}.disable fi