From 31189b5647db9ed7c0316cb08c934dd5e280913a Mon Sep 17 00:00:00 2001 From: Nic Manoogian Date: Fri, 7 Jun 2024 17:23:45 -0400 Subject: [PATCH] WIP --- scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index c35a2c85..106c3751 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -146,7 +146,7 @@ curl_download() { # allow curl to fail w/o exiting set +e - headers=$(curl --tlsv1.2 --proto "=https" -w "%{http_code}" --silent --retry 5 -o "$output_file" -LN -D - "$url" 2>&1) + headers=$(curl --tlsv1.2 --proto "=https" -w "%{response_code}" --retry 5 -o "$output_file" -LN -D - "$url" 2>&1) exit_code=$? set -e