Update nodemgmt-scripts.sh

This commit is contained in:
2023-11-08 22:28:16 -06:00
parent 3db67fc6e3
commit b7e7b3144b

View File

@@ -762,7 +762,7 @@ DOWNLIST(){
[ ${is} -lt 10 ] && ignsel=" ${is}) " || ignsel="${is}) "
[ -f ${NM_TMPFOLDER}/${ditem}.disable ] && dstatus="OFF" || dstatus="on"
time=$(SHOW_TIME ${toterrtime})
c=0; spc3=''; spc1=13-${#time}
c=0; spc3=''; spc1=$(expr 13 - ${#time})
until [ $c = ${spc1} ]; do spc3="${spc3} "; c=`expr $c + 1`; done
echo -en "${idsCL[LightRed]}${idsST[Bold]}${ignsel}${idsST[Reset]}${idsCL[LightRed]}${itemname}${spc}${host}${spc2}${time}${spc3}${dstatus}${idsCL[Default]}"
fi