From 7a660e0482c4e67184cbe9bedd562dcece9fbfdf Mon Sep 17 00:00:00 2001 From: cnphpbb Date: Fri, 19 Jun 2026 12:42:56 +0800 Subject: [PATCH] =?UTF-8?q?refactor(shell):=20=E7=A7=BB=E9=99=A4=20proxy?= =?UTF-8?q?=5Ftest=20=E4=B8=AD=20curl=20=E7=9A=84=20-w=20=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/proxy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/proxy.sh b/shell/proxy.sh index 49980ba..29f4d3c 100644 --- a/shell/proxy.sh +++ b/shell/proxy.sh @@ -99,7 +99,7 @@ function proxy_test() { # 3. 显示当前出口 IP(直连) echo -n "直连出口 IP: " - curl -w "\n" --max-time 5 myip.ipip.net 2>/dev/null || echo "获取失败" + curl --max-time 5 myip.ipip.net 2>/dev/null || echo "获取失败" # 4. 显示代理出口 IP(走代理,通过 HTTPS CONNECT 获取更稳定) echo -n "代理出口 IP: "