Browse Source

fixed mistakes in alert_gotify.sh

pull/3509/head
jamie 4 years ago
parent
commit
559bad7c1c
No known key found for this signature in database GPG Key ID: 98D3272368C9138
  1. 2
      lgsm/functions/alert_gotify.sh

2
lgsm/functions/alert_gotify.sh

@ -42,7 +42,7 @@ EOF
fn_print_dots "Sending Gotify alert" fn_print_dots "Sending Gotify alert"
gotifysend=$(curl --connect-timeout 10 -sSL -H "{"X-Gotify-Key": "${gotifytoken}" -X POST -d "$(echo -n "$json" | jq -c .)" "${gotifywebhook}") gotifysend=$(curl --connect-timeout 10 -sSL -H "{"X-Gotify-Key": "${gotifytoken}"}" -X POST -d "$(echo -n "$json" | jq -c .)" "${gotifywebhook}")
if [ -n "${gotifysend}" ]; then if [ -n "${gotifysend}" ]; then
fn_print_ok_nl "Sending Gotify alert" fn_print_ok_nl "Sending Gotify alert"

Loading…
Cancel
Save