Update nodemgmt-scripts.sh

This commit is contained in:
2025-08-04 16:31:05 -05:00
parent 33dcc9cec3
commit bff8b7ee1e

View File

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