Update cattools.sh

This commit is contained in:
喵二
2023-12-27 22:42:12 +08:00
committed by GitHub
parent b5f7d8fa69
commit 2eee6b9342

View File

@@ -340,11 +340,10 @@ while :; do
echo "7. setup bypass gateway 旁路网关"
echo "0. Exit 退出脚本"
echo "----------------------------------------"
echo "请选择数字按下回车: "
choice=""
while [ -z $choice ]; do
read choice
done
echo -en "请选择数字按下回车: "
if [ -z "$choice" ]; then
choice="0"
fi
case $choice in
1)