From 3f393e6664ed84d92defbcf9f4e1694678cf786b Mon Sep 17 00:00:00 2001 From: wulabing <91d$5gKrmVShheJf> Date: Mon, 30 Dec 2019 15:42:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8F=8C=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E9=97=B4=E9=80=BB=E8=BE=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复modify_inbound_port =逻辑错误 --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 51e84bd..9a26ce3 100644 --- a/install.sh +++ b/install.sh @@ -224,7 +224,7 @@ modify_alterid(){ echo -e "${GreenBG} alterID:${alterID} ${Font}" } modify_inbound_port(){ - if [[ "$shell_mode" = "h2" ]] + if [[ "$shell_mode" -ne "h2" ]] then let PORT=$RANDOM+10000 sed -i "/\"port\"/c \ \"port\":${PORT}," ${v2ray_conf}