From 1ea0699643224e1d0e6bf2a03f2e95b28793abe9 Mon Sep 17 00:00:00 2001 From: jamie Date: Wed, 7 Jul 2021 18:09:04 +0100 Subject: [PATCH] added back curl options --- lgsm/functions/alert_gotify.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/alert_gotify.sh b/lgsm/functions/alert_gotify.sh index d93409e69..64fb58ca6 100644 --- a/lgsm/functions/alert_gotify.sh +++ b/lgsm/functions/alert_gotify.sh @@ -10,7 +10,7 @@ content=(message="${alertsubject}, ${servername}, ${alertbody}. More info: ${ale fn_print_dots "Sending Gotify alert" -gotifysend=$(curl "$gotifywebhook"?token="$gotifytoken" -F "title=LinuxGSM" -F "$content" -F "priority=5") +gotifysend=$(curl --connect-timeout 10 -sSL "$gotifywebhook"?token="$gotifytoken" -F "title=LinuxGSM" -F "$content" -F "priority=5") if [ -n "${gotifysend}" ]; then fn_print_ok_nl "Sending Gotify alert"