From 1fde7971dab89a858b1f2e2a1a1839cc1373fe5f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 5 Nov 2023 14:54:09 -0600 Subject: [PATCH] Update offsite-power-check.sh --- offsite-power-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)