From 33e9bdb1a7b720995cb2776a16d19e8b078fe929 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 17 Oct 2021 11:01:32 +0100 Subject: [PATCH] more info --- lgsm/functions/alert.sh | 4 ++-- lgsm/functions/alert_discord.sh | 2 +- lgsm/functions/alert_pushbullet.sh | 2 +- lgsm/functions/alert_pushover.sh | 2 +- lgsm/functions/alert_slack.sh | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lgsm/functions/alert.sh b/lgsm/functions/alert.sh index 1291ca947..5ff954e3a 100644 --- a/lgsm/functions/alert.sh +++ b/lgsm/functions/alert.sh @@ -165,8 +165,8 @@ else alertversion="Unknown" fi -if [ "${postalert}" == "on" ]; then - alertmoreinfo="More info" +if [ "${postalert}" != "on" ]; then + alertmoreinfourl="not enabled" fi # Images diff --git a/lgsm/functions/alert_discord.sh b/lgsm/functions/alert_discord.sh index 62098c9be..4e938d5c2 100755 --- a/lgsm/functions/alert_discord.sh +++ b/lgsm/functions/alert_discord.sh @@ -59,7 +59,7 @@ json=$(cat <