From 27c1f8245b64acbba20daaf04122e89bb4f3bc58 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 8 Nov 2023 23:03:22 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 6f9bb48c..163d8461 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -760,7 +760,7 @@ DOWNLIST(){ 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 + [ ${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"