Update nodemgmt-scripts.sh

This commit is contained in:
2023-11-08 23:30:06 -06:00
parent 0f60cabb51
commit 8168484ccc

View File

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