From 44c45590bc97b48600793a2d211bea071c573f83 Mon Sep 17 00:00:00 2001 From: Jonathan Curran Date: Tue, 9 Jun 2020 10:18:22 -0600 Subject: [PATCH] Remove early exit --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 27a2081..d0cb02b 100755 --- a/install.sh +++ b/install.sh @@ -352,6 +352,7 @@ do_download () { # Or, If curl is around, use that. elif [[ -z "${curl_rc}" ]]; then echo "Downloading ${url}..." + local header if [[ -n "${RS_USER_AGENT}" ]]; then header="-H 'User-Agent: ${RS_USER_AGENT}'" fi @@ -377,7 +378,6 @@ do_download () { exit ${rc} fi fi - exit } # This helps determine whether a given command exists or not.