Skip to content

Commit 93c4639

Browse files
authored
Update install.sh
1 parent 87a0302 commit 93c4639

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

install.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2363,10 +2363,12 @@ if [[ -n $(ps -e | grep xuiwpph) ]]; then
23632363
kill -15 $(cat /usr/local/x-ui/xuiwpphid.log 2>/dev/null) >/dev/null 2>&1
23642364
fi
23652365
v4v6
2366-
if [[ -z $v4 ]]; then
2366+
if [[ -n $v4 ]]; then
2367+
sw46=4
2368+
else
23672369
red "IPV4不存在,确保安装过WARP-IPV4模式"
2368-
fi
2369-
[[ -n $v6 ]] && sw46=6 || sw46=4
2370+
sw46=6
2371+
fi
23702372
echo
23712373
readp "设置WARP-plus-Socks5端口(回车跳过端口默认40000):" port
23722374
if [[ -z $port ]]; then

0 commit comments

Comments
 (0)