diff --git a/scripts/install.sh b/scripts/install.sh index 03eb146f..5f1d77b8 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}" --retry 5 -o "$output_file" -LN -D - "$url" 2>&1) + headers=$(curl --tlsv1.2 --proto "=https" -w "%%{http_code}" --retry 5 -o "$output_file" -LN -D - "$url" 2>&1) exit_code=$? set -e