diff --git a/inc/power.inc.sh b/inc/power.inc.sh index e3a59331..a9314851 100644 --- a/inc/power.inc.sh +++ b/inc/power.inc.sh @@ -868,9 +868,8 @@ SENDPOWER(){ SENDNOTICE "TEST 2" "TESTING TESTING" & - echo -en "sending ... " - SENDNOTICE "${1}" "`${PW_SCRIPT} check power -p -r`" - echo "done" + st_power=`${PW_SCRIPT} check power -p -r` + SENDNOTICE "${1}" "${st_power/\%/\%25}" }