From 8622f1eb960214095b49c8bed99076e3c61f8a3a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 3 Dec 2023 11:14:29 -0600 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerwall.sh b/powerwall.sh index 4a9a025d..5281c99d 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -776,7 +776,7 @@ CHECKPOWER(){ elif [ "${HOST_WATTS}" != "0" ]; then [ "${PS1}" == "" ] && PS1="0.0" || PS1=`echo "scale=1; ${PS1}/10" | bc`; (( $(bc <<<"${PS1} < 1") )) && [[ "${PS1}" = *"."* ]] && PS1="0${PS1}" if [ "${PS2}" == "" ]; then - PS2="0.0" + PS2='0.0' else PS2=`echo "scale=1; ${PS2}/10" | bc` (( $(bc <<<"${PS2} < 1") )) && [[ "${PS2}" = *"."* ]] && PS2="0${PS2}"