From ff1c54fe70314093ec8400ffd5d462a3e5bd6b23 Mon Sep 17 00:00:00 2001 From: wulabing <91d$5gKrmVShheJf> Date: Mon, 30 Dec 2019 15:10:29 +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 语法错误修正 --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index bfe070a..55b702b 100644 --- a/install.sh +++ b/install.sh @@ -224,12 +224,13 @@ modify_alterid(){ echo -e "${GreenBG} alterID:${alterID} ${Font}" } modify_inbound_port(){ - if [[ "$shell_mode" = "h2"]] + if [[ "$shell_mode" = "h2" ]] then let PORT=$RANDOM+10000 sed -i "/\"port\"/c \ \"port\":${PORT}," ${v2ray_conf} else sed -i "/\"port\"/c \ \"port\":${port}," ${v2ray_conf} + fi judge "V2ray inbound_port 修改" } modify_UUID(){