diff --git a/powerwall.sh b/powerwall.sh index a9f6fb25..c5bddb56 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -718,7 +718,7 @@ if [[ "${1}" != *"_service" ]] && [[ "${noheader}" != *" ${1} "* ]] && [[ "${noh echo DIVIDER . lightGreen 70 msg="| PowerWall Management ${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})" - c=0; spc=''; spc1=`expr 80 - ${#msg}`; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done + c=0; spc=''; spc1=`expr 81 - ${#msg}`; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -e "${idsCL[LightGreen]}${msg}${spc}${idsCL[LightGreen]}|${idsCL[Default]}" DIVIDER . lightGreen 70 fi