diff --git a/offsite-power-check.sh b/offsite-power-check.sh index 89aa54be..0c92fa0f 100755 --- a/offsite-power-check.sh +++ b/offsite-power-check.sh @@ -28,7 +28,7 @@ $(date)" PRIORITY=0 fi echo "Sending message" - curl --data="token=${PUSHOVER_APP_TOKEN}&user=${PUSHOVER_USER_TOKEN}&message=${MESSAGE}&title=${TITLE}&priority=${PRIORITY}&sound=${MSGSOUND}" https://api.pushover.net/1/messages.json + 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)