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"