From 1c5381cc03e65a2363a082ad21f466dbcee0f28d Mon Sep 17 00:00:00 2001 From: Stanislas Lange Date: Thu, 4 Dec 2025 18:07:09 +0100 Subject: [PATCH] fix: correct DNS prompt range from [1-12] to [1-13] The prompt incorrectly showed [1-12] when option 13 (Custom DNS) is valid. --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index b5ca9fe..7bb0bd0 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -371,7 +371,7 @@ function installQuestions() { echo " 12) NextDNS (Anycast: worldwide)" echo " 13) Custom" until [[ $DNS =~ ^[0-9]+$ ]] && [ "$DNS" -ge 1 ] && [ "$DNS" -le 13 ]; do - read -rp "DNS [1-12]: " -e -i 11 DNS + read -rp "DNS [1-13]: " -e -i 11 DNS if [[ $DNS == 2 ]] && [[ -e /etc/unbound/unbound.conf ]]; then echo "" echo "Unbound is already installed."