Update nodemgmt-scripts.sh

This commit is contained in:
2023-11-08 23:09:21 -06:00
parent 0347ff8cb4
commit fb011af9db

View File

@@ -759,7 +759,9 @@ DOWNLIST(){
if [ "${1}" != "ignore" ]; then
echo -e "${idsCL[LightRed]}${itemname}${spc}${host}${spc2}$(SHOW_TIME ${toterrtime})${idsCL[Default]}"
else
[ "${choice}" != "" ] && [ ${is} -eq `expr ${choice} - 1` ] && touch ${NM_TMPFOLDER}/${ditem}.disable
if [ "${choice}" != "" ] && [ ${is} -eq ${choice} ]; then
[ ! -f ${NM_TMPFOLDER}/${ditem}.disable ] && touch ${NM_TMPFOLDER}/${ditem}.disable || rm -f ${NM_TMPFOLDER}/${ditem}.disable
fi
[ ${is} -lt 10 ] && ignsel=" ${is}) " || ignsel="${is}) "
[ -f ${NM_TMPFOLDER}/${ditem}.disable ] && dstatus="OFF" || dstatus="${idsCL[Yellow]}on"