From 0ee02cb2195068c812bc486136d6703d362a28ba Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 12 May 2024 17:19:33 -0500 Subject: [PATCH] Update temp.inc.sh --- inc/temp.inc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 696dc984..f999888c 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -258,7 +258,7 @@ CHECKTEMP(){ ([ "${temp_h}" != "" ] && [ "${temp_h}" != "0" ]) && echo -en "${idsCL[White]}| " || echo -n " " echo -en "${idsCL[Default]} " # [ ${#M} -eq 2 ] && echo -n " " - [ ${#M} < 3 ] && { c=0; spc1=`expr ${#M} - 1`; until [ ${c} = ${spc1} ]; do echo -n " "; ((c++)); done } + [ ${#M} -lt 3 ] && { c=0; spc1=`expr ${#M} - 1`; until [ ${c} = ${spc1} ]; do echo -n " "; ((c++)); done } if [ "${OLD_temp_f}" != "" ]; then c=0; spc=''; spc1=`expr ${spc_cnt} - ${#OLD_temp_f}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done