From a0b9e920331a7381079afacbd2c1e440aecdcff8 Mon Sep 17 00:00:00 2001 From: hunnywar Date: Thu, 9 Jan 2025 00:08:47 +0530 Subject: [PATCH] refactor wget curl Signed-off-by: hunnywar --- hack/get-ttyd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/get-ttyd.sh b/hack/get-ttyd.sh index 6cd738b650..dd074edeed 100644 --- a/hack/get-ttyd.sh +++ b/hack/get-ttyd.sh @@ -39,7 +39,7 @@ target_file="$HOME/ttyd-$arch" if command -v wget &>/dev/null; then wget -O "$target_file" "$download_url" elif command -v curl &>/dev/null; then - curl -L -o "$target_file" "$download_url" + curl -fsSL -o "$target_file" "$download_url" else echo "Neither wget nor curl is available. Please install one of them." exit 1