Skip to content

Commit

Permalink
FIX: Remove download on error
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0der committed Apr 16, 2024
1 parent 6529e01 commit e4c5ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/bash/sdkman-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit e4c5ef9

Please sign in to comment.