diff --git a/scripts/menu.sh b/scripts/menu.sh index 4bb76ef0..8ffa8e72 100644 --- a/scripts/menu.sh +++ b/scripts/menu.sh @@ -2054,9 +2054,7 @@ tools() { echo "-----------------------------------------------" read -p "请输入对应数字 > " num case "$num" in - 0) - i= - ;; + 0) ;; 1) read -p "请输入端口号(1000-65535) > " num if [ -z "$num" ]; then diff --git a/scripts/webget.sh b/scripts/webget.sh index 8f8f3c9b..1824f763 100644 --- a/scripts/webget.sh +++ b/scripts/webget.sh @@ -2189,7 +2189,6 @@ update(){ read -p "请输入对应数字 > " num case "$num" in 0) - i= ;; 1) setscripts