fix dns select .
This commit is contained in:
parent
90cb25dbeb
commit
46905b34f8
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ new_client_dns () {
|
|||
echo " 6) AdGuard"
|
||||
echo " 7) AliDNS"
|
||||
read -p "DNS server [1]: " dns
|
||||
until [[ -z "$dns" || "$dns" =~ ^[1-6]$ ]]; do
|
||||
until [[ -z "$dns" || "$dns" =~ ^[1-7]$ ]]; do
|
||||
echo "$dns: invalid selection."
|
||||
read -p "DNS server [1]: " dns
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue