Update nodemgmt-scripts.sh

This commit is contained in:
2023-11-08 22:32:18 -06:00
parent 2544b394eb
commit 0385cac49e

View File

@@ -763,8 +763,8 @@ DOWNLIST(){
[ -f ${NM_TMPFOLDER}/${ditem}.disable ] && dstatus="OFF" || dstatus="on"
time=$(SHOW_TIME ${toterrtime})
echo "HERE: $time - ${#time}"
c=0; spc3=''
until [ $c = `expr 13 - ${#time}` ]; do spc3="${spc3} "; c=`expr $c + 1`; done
c=0; spc3='-'
# until [ $c = `expr 13 - ${#time}` ]; 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