From b9a1d8e43a74185729ba7510c94ed373eaccfa58 Mon Sep 17 00:00:00 2001 From: Kirill Shamilin Date: Thu, 17 May 2018 23:44:49 +0300 Subject: [PATCH] Update alert_telegram.sh --- lgsm/functions/alert_telegram.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/alert_telegram.sh b/lgsm/functions/alert_telegram.sh index 5d5cdddc8..cf14aafc3 100644 --- a/lgsm/functions/alert_telegram.sh +++ b/lgsm/functions/alert_telegram.sh @@ -19,7 +19,7 @@ EOF fn_print_dots "Sending Telegram alert" sleep 0.5 -telegramsend=$(${curlpath} -sSL -H "Content-Type: application/json" -X POST -d """${json}""" "https://api.telegram.org/bot${telegramtoken}/sendMessage" | grep "error_code") +telegramsend=$(${curlpath} -sSL -H "Content-Type: application/json" -X POST -d """${json}""" "https://api.telegram.org/bot${telegramtoken}/sendMessage" ${curlcustomstring} | grep "error_code") if [ -n "${telegramsend}" ]; then fn_print_fail_nl "Sending Telegram alert: ${telegramsend}"