From a2d469a8703ae2f04e2c5fed5e5f65bb81a65d96 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 17 Dec 2023 11:45:45 -0600 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 560975e4..e03f462a 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -663,7 +663,7 @@ SERVERROOM_TEMP_DIFFERENCE(){ if [[ "${tempdiff}" = *"~"* ]]; then dt="${tempdiff%~*}" tempdiff=${tempdiff#*~} - [ $(bc -l <<< "${tempdiff} < 1") -eq 1 ] && [ "${tempdiff}" != "0" ] && tempdiff="0${tempdiff}" || [ "${tempdiff}" = "0" ] && tempdiff="0.0" + [ $(bc -l <<< "${tempdiff} < 1") -eq 1 ] && [ "${tempdiff}" != "0" ] && tempdiff="0${tempdiff}" || ([ "${tempdiff}" = "0" ] && tempdiff="0.0") else dt=" " fi