From fe40542a5c8572c5da50664187fac1845eda2d31 Mon Sep 17 00:00:00 2001 From: Arno Hautala Date: Fri, 15 Oct 2021 08:40:53 -0400 Subject: [PATCH] silently curl in notifications --- docker-entrypoint | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-entrypoint b/docker-entrypoint index 02b0e20..b457135 100755 --- a/docker-entrypoint +++ b/docker-entrypoint @@ -64,13 +64,13 @@ notify_webhook() { if [ -n "$WEBHOOK_URL" ] then # execute webhook requests as background process to prevent healer from blocking - curl -X POST -H "Content-type: application/json" -d "$(generate_webhook_payload $text)" $WEBHOOK_URL + curl -s -X POST -H "Content-type: application/json" -d "$(generate_webhook_payload $text)" $WEBHOOK_URL fi if [ -n "$APPRISE_URL" ] then # execute webhook requests as background process to prevent healer from blocking - curl -X POST -H "Content-type: application/json" -d "$(generate_apprise_payload $text)" $APPRISE_URL + curl -s -X POST -H "Content-type: application/json" -d "$(generate_apprise_payload $text)" $APPRISE_URL fi }