diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 46c03c31..b0f6f1db 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -759,7 +759,8 @@ DOWNLIST(){ if [ "${1}" != "ignore" ]; then echo -e "${idsCL[LightRed]}${itemname}${spc}${host}${spc2}$(SHOW_TIME ${toterrtime})${idsCL[Default]}" else - [ "${is}" == "$(expr ${choice}-1)" ] && touch ${NM_TMPFOLDER}/${ditem}.disable + echo "HERE: ${is} $(expr ${choice}-1)" + [ ${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"