From b88d0538cc9847dc702f2ee548b180c951209385 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 24 Aug 2025 09:53:00 -0500 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerwall.sh b/powerwall.sh index b69861fb..f155adf6 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -894,7 +894,7 @@ if [[ "${1}" != *"_service" ]] && [[ "${noheader}" != *" ${1} "* ]] && [[ "${noh echo DIVIDER . lightGreen ${PRI_WIDTH} msg="|| PowerWall Management ${idsCL[Default]}" - c=0; spc=''; spc1=`expr 76 - ${#msg} - ${#VERS}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done + c=0; spc=''; spc1=`expr 76 - ${#msg} - ${#PW_VERS}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done echo -e "${idsCL[LightGreen]}${msg}${spc}${idsCL[LightGray]}v${PW_VERS} ${idsCL[LightGreen]}||${idsCL[Default]}" DIVIDER . lightGreen ${PRI_WIDTH} fi