From d76d229ea804c2b3434196d0b07bc27460ac793f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 9 Jan 2024 16:12:55 -0600 Subject: [PATCH] Update power.inc.sh --- inc/power.inc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/power.inc.sh b/inc/power.inc.sh index 405738ac..0b3ead19 100644 --- a/inc/power.inc.sh +++ b/inc/power.inc.sh @@ -328,9 +328,9 @@ CHECKPOWER(){ [ "${STYPE}" == "" ] || [ "${STYPE}" == "offsite" ] && echo -e "${idsCL[LightCyan]}Offsite Total ${idsCL[Default]}: ${idsCL[LightGreen]}${SENSOR_TOTAL_AMPS_OFFSITE}'amps - `IDS_NUMBER_FORMAT ${SENSOR_TOTAL_WATTS_OFFSITE}`'watts" fi if [ ${REPORT} -eq 0 ]; then - end=`date +%s`; runtime=$((end-start)); echo -e "\nruntime: ${runtime}" + end=`date +%s`; runtime=$((end-start)); echo -e "\n${idsCL[Default]}runtime: ${runtime}" fi - [ "${PW_ACTION}" != "" ] && [ ${REPORT} -eq 0 ] && echo + [ "${PW_ACTION}" != "" ] && [ ${REPORT} -eq 0 ] && echo -e "${idsCL[Default]}" } CHECKPOWER_SERVICE(){