From 3da406fdb541793c33a1eb78ecc2f7db542a2352 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 9 Nov 2023 10:35:57 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 86501efe..efe65a21 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -721,7 +721,7 @@ DOWNLIST(){ if [ "${1}" != "ignore" ]; then echo -e "${idsCL[Yellow]}Service/Host Host Down_Time${idsCL[Default]}" else - echo -e "${idsCL[Yellow]} Service/Host Host Down_Time Notifications${idsCL[Default]}" + echo -e "${idsCL[Yellow]} Service/Host Host Down_Time Notifications${idsCL[Default]}" fi DIVIDER false yellow 95 @@ -768,7 +768,7 @@ DOWNLIST(){ [ -f ${NM_TMPFOLDER}/${ditem}.disable ] && dstatus="OFF" || dstatus="${idsCL[Yellow]}ON" time=$(SHOW_TIME ${toterrtime}) c=0; spc3='' - until [ $c = `expr 26 - ${#time}` ]; do spc3="${spc3} "; c=`expr $c + 1`; done + until [ $c = `expr 26 - ${#time}` ]; do spc3="${spc3} "; ((c++)); done echo -e "\033[K${idsCL[LightRed]}${idsST[Bold]}${ignsel}${idsST[Reset]}${idsCL[LightRed]}${itemname}${spc}${host}${spc2}${time}${spc3}${dstatus}${idsCL[Default]}" fi