From d1c61e76535a61ab7a2b152be2b9c4d4d185ec6c Mon Sep 17 00:00:00 2001 From: lsy Date: Fri, 20 Sep 2024 14:54:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Evpn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Menus/Vpn.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Menus/Vpn.sh b/Menus/Vpn.sh index 0c92fc1..4a48cba 100644 --- a/Menus/Vpn.sh +++ b/Menus/Vpn.sh @@ -15,9 +15,9 @@ for i in "${!vpn_array[@]}";do done read -p "请输入要选择的序号:" vpn_pick -if [[ -z ${vpn_array[${vpn_number[$vpn_pick]}]} ]];then +if [[ -z ${vpn_array[${vpn_index[$vpn_pick]}]} ]];then echo "输入错误" else - echo "${vpn_array[${vpn_number[$vpn_pick]}]}" + echo "${vpn_array[${vpn_index[$vpn_pick]}]}" fi