From fe11cb73607d4329f3381a5a92aff9051d27e441 Mon Sep 17 00:00:00 2001 From: Pedro Pombeiro Date: Sun, 22 Sep 2024 19:06:52 +0200 Subject: [PATCH] Make Telegram message match inotify message --- script/trigger_telegram.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/trigger_telegram.sh b/script/trigger_telegram.sh index f96f6e6..ea4e3c2 100755 --- a/script/trigger_telegram.sh +++ b/script/trigger_telegram.sh @@ -2,7 +2,7 @@ # Check if TELEGRAM_TOKEN and TELEGRAM_CHATID are both set if [ -z "${TELEGRAM_TOKEN}" ] || [ -z "${TELEGRAM_CHATID}" ]; then - echo "TELEGRAM_TOKEN or TELEGRAM_CHATID is not set" + echo "TELEGRAM_TOKEN or TELEGRAM_CHATID environment variables not set, skipping Telegram trigger." else # Use the environment variables TELEGRAM_TOKEN and TELEGRAM_CHATID TOKEN="$TELEGRAM_TOKEN"