设置获取IPv6的curl命令为Silent mode

This commit is contained in:
Ljzd-PRO authored and GitHub committed 2022-07-30 15:22:54 +08:00
1 parent e7dfce30df
commit 1c59aac26c
1 file changed
+1 -1
+1 -1
View File
@@ -58,7 +58,7 @@ arWanIp6() {
local hostIp
if type curl >/dev/null 2>&1; then
hostIp=$(curl 6.ipw.cn)
hostIp=$(curl -s 6.ipw.cn)
else
hostIp=$(wget -q -O- 6.ipw.cn)
fi