From 93b13666bdfed9f27461db38800f8225b405ddfd Mon Sep 17 00:00:00 2001 From: jamie Date: Wed, 7 Jul 2021 16:54:21 +0100 Subject: [PATCH] first working version, gotify does not like emojis --- lgsm/functions/alert_gotify.sh | 36 ++-------------------------------- 1 file changed, 2 insertions(+), 34 deletions(-) mode change 100755 => 100644 lgsm/functions/alert_gotify.sh diff --git a/lgsm/functions/alert_gotify.sh b/lgsm/functions/alert_gotify.sh old mode 100755 new mode 100644 index ace6fcc5b..d93409e69 --- a/lgsm/functions/alert_gotify.sh +++ b/lgsm/functions/alert_gotify.sh @@ -6,43 +6,11 @@ functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" -if ! command -v jq > /dev/null; then - fn_print_fail_nl "Sending Gotify alert: jq is missing." - fn_script_log_fatal "Sending Gotify alert: jq is missing." -fi - -json=$(cat <