Update nodemgmt-scripts.sh

This commit is contained in:
2023-11-08 23:06:44 -06:00
parent 27c1f8245b
commit 0347ff8cb4

View File

@@ -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"