diff --git a/powerwall.sh b/powerwall.sh index bb1aa0ed..2c22750a 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -614,7 +614,7 @@ CHECKPOWER(){ if [ -f ${hostfile} ] && [ "${hostfile}" != "${PW_TMPFOLDER}/*.hostpower" ]; then host=${hostfile%.*}; host=${host##*/} if [ "${host}" != "*" ] && [ "${host}" != "done" ]; then - watts=`printf "%'.3f\n" $(cat ${hostfile}) + watts=`printf "%'.3f\n" $(cat ${hostfile})` if [ "${watts}" == "down" ]; then hostpower="${idsCL[Red]}Host Offline" elif [ "${watts}" == "0" ]; then hostpower="${idsCL[Default]}n/a" else hostpower="${idsCL[Green]}${watts}'W"