diff --git a/inc/power.inc.sh b/inc/power.inc.sh index 489cec0c..88865892 100644 --- a/inc/power.inc.sh +++ b/inc/power.inc.sh @@ -859,7 +859,7 @@ PDUCONTROL(){ } SENDPOWER(){ - st_power=$(CHECKPOWER -p) + st_power=`${PW_SCRIPT} check power -p` SENDNOTICE "${1}" "${st_power}" }