diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 3acc7c4d..1da7fd27 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -630,7 +630,7 @@ SERVERROOM_TEMP_DIFFERENCE(){ [ ${scansfound} -eq 0 ] && average=0 || average=$(ROUND_NUMBER $(bc <<< "scale=2; ${scantimes_total}/${scansfound}") 0) average_disp=$(SHOW_TIME ${average} s) - c=0; spcT=''; spc1=`expr ${cw} - ${#average}`; until [ $c = ${spc1} ]; do spct="${spct} "; c=`expr $c + 1`; done + c=0; spcT=''; spc1=`expr 25 - ${#average}`; until [ $c = ${spc1} ]; do spct="${spct} "; c=`expr $c + 1`; done lastscantime_disp=$(SHOW_TIME ${lastscantime} s) longest_scantime_disp=$(SHOW_TIME ${longest_scantime} s)