diff --git a/install_test_visibility.sh b/install_test_visibility.sh index edd30e3..8ffdaf2 100755 --- a/install_test_visibility.sh +++ b/install_test_visibility.sh @@ -159,9 +159,9 @@ download_file() { if command -v curl >/dev/null 2>&1; then if [ -n "$auth_header" ]; then # Do not follow redirects while sending a caller-provided secret header. - curl -Lo "$filepath" --max-redirs 0 -H "$auth_header" "$url" + curl -fLo "$filepath" --max-redirs 0 -H "$auth_header" "$url" else - curl -Lo "$filepath" "$url" + curl -fLo "$filepath" "$url" fi elif command -v wget >/dev/null 2>&1; then if [ -n "$auth_header" ]; then