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"