From b7cb5e3d093c06d3374685c4b8669670b4f588d5 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 5 Nov 2023 14:52:26 -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 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)