diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 039256ce..9bac3298 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -958,7 +958,7 @@ DOWNLIST(){ if [[ "${NM_IGNOREHOSTS_IFDOWN}" != *"${host}"* ]]; then if [ "${choice^^}" == "N" ]; then rm -f ${NM_TMPFOLDER}/${ditem}.disable - if [ "${choice^^}" == "F" ]; then + elif [ "${choice^^}" == "F" ]; then touch ${NM_TMPFOLDER}/${ditem}.disable elif [[ ${choice} == ?(-)+([0-9]) ]] && [ ${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