新增vpn
This commit is contained in:
parent
7a3ba944c5
commit
d1c61e7653
@ -15,9 +15,9 @@ for i in "${!vpn_array[@]}";do
|
|||||||
done
|
done
|
||||||
read -p "请输入要选择的序号:" vpn_pick
|
read -p "请输入要选择的序号:" vpn_pick
|
||||||
|
|
||||||
if [[ -z ${vpn_array[${vpn_number[$vpn_pick]}]} ]];then
|
if [[ -z ${vpn_array[${vpn_index[$vpn_pick]}]} ]];then
|
||||||
echo "输入错误"
|
echo "输入错误"
|
||||||
else
|
else
|
||||||
echo "${vpn_array[${vpn_number[$vpn_pick]}]}"
|
echo "${vpn_array[${vpn_index[$vpn_pick]}]}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user