From e4c5ef9a419a6f917edfac37cdac76b0c1af04a0 Mon Sep 17 00:00:00 2001 From: Marco Vermeulen Date: Tue, 16 Apr 2024 22:22:05 +0100 Subject: [PATCH] FIX: Remove download on error --- src/main/bash/sdkman-utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/bash/sdkman-utils.sh b/src/main/bash/sdkman-utils.sh index 51797264f..eda3977b7 100644 --- a/src/main/bash/sdkman-utils.sh +++ b/src/main/bash/sdkman-utils.sh @@ -32,7 +32,7 @@ function __sdkman_secure_curl() { function __sdkman_secure_curl_download() { local curl_params - curl_params=('--progress-bar' '--location') + curl_params=('--progress-bar' '--location' '--remove-on-error') if [[ "${sdkman_debug_mode}" == 'true' ]]; then curl_params+=('--verbose')