From 8c61a1afbac09fb0e34921f93879660953c4bf54 Mon Sep 17 00:00:00 2001 From: Angristan Date: Thu, 14 Sep 2017 14:19:12 +0200 Subject: [PATCH] Fix while condition --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index d311edc..f6e14d7 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -380,7 +380,7 @@ else echo " 1) SHA-256" echo " 2) SHA-384 (recommended)" echo " 3) SHA-512" - while [[ $CERT_HASH != "1" && $CERT_HASH != "2" && $CERT_HASH != "3"]]; do + while [[ $CERT_HASH != "1" && $CERT_HASH != "2" && $CERT_HASH != "3" ]]; do read -p "Cert hash algo [1-3]: " -e -i 2 CERT_HASH done case $CERT_HASH in