diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 5a24955e..4b256029 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -766,11 +766,11 @@ DOWNLIST(){ [ -f ${NM_TMPFOLDER}/${ditem}.disable ] && dstatus="off" || dstatus="${idsCL[Yellow]}on" time=$(SHOW_TIME ${toterrtime}) c=0; spc3='' - until [ $c = `expr 23 - ${#time}` ]; do spc3="${spc3} "; c=`expr $c + 1`; done - echo -e "${idsCL[LightRed]}${idsST[Bold]}${ignsel}${idsST[Reset]}${idsCL[LightRed]}${itemname}${spc}${host}${spc2}${time}${spc3}${dstatus}${idsCL[Default]}" + until [ $c = `expr 27 - ${#time}` ]; do spc3="${spc3} "; c=`expr $c + 1`; done + echo -e "\033[K${idsCL[LightRed]}${idsST[Bold]}${ignsel}${idsST[Reset]}${idsCL[LightRed]}${itemname}${spc}${host}${spc2}${time}${spc3}${dstatus}${idsCL[Default]}" fi - DIVIDER false darkGray 90 + DIVIDER false darkGray 95 ((is++)) done