修复双版本间逻辑问题

语法错误修正
pull/355/head
wulabing 2019-12-30 15:10:29 +08:00
parent 48c87d3823
commit ff1c54fe70
1 changed files with 2 additions and 1 deletions

View File

@ -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(){