From d9c7a592e3f80ae71202fabd74eb6e4828db8b12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=AC=E5=93=A5=E4=BE=83=E4=BE=83=E4=BE=83ygkkk?= <121604513+yonggekkk@users.noreply.github.com> Date: Sat, 11 Apr 2026 20:11:22 +0800 Subject: [PATCH] Update sb.sh --- sb.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sb.sh b/sb.sh index 5af73ba..acb478d 100644 --- a/sb.sh +++ b/sb.sh @@ -2785,7 +2785,7 @@ green "3:重置删除Hysteria2多端口" green "0:返回上层" readp "请选择【0-3】:" menu if [ "$menu" = "1" ]; then -if [ -n $hy2_ports ]; then +if [ -n "$hy2_ports" ]; then hy2deports hy2port echo $sbfiles | xargs -n1 sed -i "67s/$hy2_port/$port_hy2/" @@ -2810,7 +2810,7 @@ else changeport fi elif [ "$menu" = "3" ]; then -if [ -n $hy2_ports ]; then +if [ -n "$hy2_ports" ]; then hy2deports && sbshare > /dev/null 2>&1 && changeport else yellow "Hysteria2未设置多端口" && changeport @@ -2826,7 +2826,7 @@ green "3:重置删除Tuic5多端口" green "0:返回上层" readp "请选择【0-3】:" menu if [ "$menu" = "1" ]; then -if [ -n $tu5_ports ]; then +if [ -n "$tu5_ports" ]; then tu5deports tu5port echo $sbfiles | xargs -n1 sed -i "89s/$tu5_port/$port_tu/" @@ -2851,7 +2851,7 @@ else changeport fi elif [ "$menu" = "3" ]; then -if [ -n $tu5_ports ]; then +if [ -n "$tu5_ports" ]; then tu5deports && sbshare > /dev/null 2>&1 && changeport else yellow "Tuic5未设置多端口" && changeport