diff --git a/offsite-power-check.sh b/offsite-power-check.sh index 4779a098..1cc35117 100755 --- a/offsite-power-check.sh +++ b/offsite-power-check.sh @@ -26,7 +26,7 @@ SENDNOTICE2(){ PRIORITY=0 fi echo "Sending message" - echo "https://api.pushover.net/1/messages.json?token=${PUSHOVER_APP_TOKEN}&user=${PUSHOVER_USER_TOKEN}&message=${MESSAGE}&title=${TITLE}&priority=${PRIORITY}&sound=${MSGSOUND}" + curl "https://api.pushover.net/1/messages.json?token=${PUSHOVER_APP_TOKEN}&user=${PUSHOVER_USER_TOKEN}&message=${MESSAGE}&title=${TITLE}&priority=${PRIORITY}&sound=${MSGSOUND}" } upsinfo=$(upsc CP1500PFCLCD)