From 3fa51ae0dc5a1a19df908cac206073878dcf8081 Mon Sep 17 00:00:00 2001 From: Shahzain Ali Date: Tue, 3 Sep 2024 02:04:22 +0500 Subject: [PATCH] Update openvpn-install.sh --- openvpn-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 7120b06..b04c981 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -356,9 +356,9 @@ function installQuestions() { fi done echo "" - echo "Do you want the same client .ovpn file to connect multiple clients? (This will add 'duplicate-cn' in the server.conf) [y/n]: " + read -rp "Do you want the same client .ovpn file to connect multiple clients? (This will add 'duplicate-cn' in the server.conf) [y/n]: " -e -i n MULTI_CLIENT_CHOICE - if [[ $MULTI_CLIENT_CHOICE =~ ^[Yy]$ ]]; then + if [[ $MULTI_CLIENT_CHOICE =~ ^[Yy]$ ]]; then MULTI_CLIENT="y" else MULTI_CLIENT="n"