Skip to content

Commit 6036034

Browse files
committed
fix(toolchain): 修复wget下载时错误输出被重定向的问题
1 parent cff51b9 commit 6036034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolchain/scripts/tool_kit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ download_pkg_from_url() {
978978
"smart"|*)
979979
# Smart fallback: try with certificate validation first, then without
980980
echo "Attempting secure download: $__url"
981-
if wget ${DOWNLOADER_FLAGS} "$__url" -O "$__filename" 2>/dev/null; then
981+
if wget ${DOWNLOADER_FLAGS} "$__url" -O "$__filename"; then
982982
echo "Download successful with certificate validation"
983983
else
984984
echo "Certificate validation failed, retrying without certificate check..."

0 commit comments

Comments
 (0)