From 0026a1ee8f7af84dd0c3666a8dc2bd1d3d812aae Mon Sep 17 00:00:00 2001 From: Daniel Mohedano Date: Thu, 21 May 2026 16:29:39 +0200 Subject: [PATCH] fix: include -f option on curl download --- install_test_visibility.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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