From 33327062cea4bedd1e983e785447eca918366342 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 11 Feb 2024 09:14:43 -0600 Subject: [PATCH] Update power.inc.sh --- inc/power.inc.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/inc/power.inc.sh b/inc/power.inc.sh index af5332fd..aa04ebea 100644 --- a/inc/power.inc.sh +++ b/inc/power.inc.sh @@ -54,7 +54,7 @@ CHECKPOWER(){ start=`date +%s` rm -f ${PW_TMPFOLDER}/*.hostpower* REPORT=0 - wspc=8 + wspc=9 while [ $# -gt 0 ]; do case "$1" in -a|-avg) avgdays=${2};; @@ -194,8 +194,7 @@ CHECKPOWER(){ # echo DIVIDER . lightCyan ${PRI_WIDTH} - c=0; spc=''; spc1=`expr ${wspc} - ${#AD}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done - echo -e "${idsCL[LightCyan]}Totals : Amps Watts${idsCL[Default]}" + echo -e "${idsCL[LightCyan]}Totals : Amps Watts${idsCL[Default]}" if [ ${REPORT} -eq 0 ]; then echo -en "\r\033[K"