diff --git a/offsite-power-check.sh b/offsite-power-check.sh index 4a9899ba..8bc859c9 100755 --- a/offsite-power-check.sh +++ b/offsite-power-check.sh @@ -29,7 +29,7 @@ SENDNOTICE2(){ 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 -d "token=${PUSHOVER_APP_TOKEN}&user=${PUSHOVER_USER_TOKEN}&message=${MESSAGE}&title=${TITLE}&priority=${PRIORITY}&sound=${MSGSOUND}" https://api.pushover.net/1/messages.json } upsinfo=$(upsc CP1500PFCLCD)