diff --git a/misc/core.func b/misc/core.func index 7215d765..1384cece 100644 --- a/misc/core.func +++ b/misc/core.func @@ -198,7 +198,7 @@ __curl_err_handler() { 78) msg_error "Remote file not found (404): $target" ;; *) msg_error "Curl failed with code $exit_code: $target" ;; esac - exit + return 1 } # ------------------------------------------------------------------------------