From fe383051d562610efa45f12dd94eeee7fc2118eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Mon, 24 Oct 2022 04:01:40 +0200 Subject: [PATCH] formatting --- libexec/kiwi-backup/run_webhook | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libexec/kiwi-backup/run_webhook b/libexec/kiwi-backup/run_webhook index 0447046..2c31774 100755 --- a/libexec/kiwi-backup/run_webhook +++ b/libexec/kiwi-backup/run_webhook @@ -6,10 +6,9 @@ webhook_insecure="${3:-0}" if [ -z "${webhook_url}" ]; then - return 1 + exit 1 fi - curl_args="" if [ "${webhook_insecure}" = "1" ]; then curl_args="--insecure"