diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 63dc6281..67a95b2a 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -258,10 +258,11 @@ CHECKTEMP(){ ([ "${temp_h}" != "" ] && [ "${temp_h}" != "0" ]) && echo -en "${idsCL[White]}| " || echo -n " " echo -en "${idsCL[Default]} " # [ ${#M} -eq 2 ] && echo -n " " - if [ ${#M} -lt 3 ]; then - echo -n "${#M} " + if [ ${#M} -eq 1 ]; then + echo -n " " + elif [ ${#M} -lt 3 ]; then c=0; spc1=`expr ${#M} - 1` - until [ ${c} = ${spc1} ] || [ ${#M} -eq 1 ]; do + until [ ${c} = ${spc1} ]; do echo -n " " ((c++)) done