From 86d8d01f3120ec126096d060af413656b3e514b8 Mon Sep 17 00:00:00 2001 From: Slava Kostenko Date: Sun, 6 Sep 2020 00:59:24 +0400 Subject: [PATCH] Fix lint error --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 3e2e8ab..b9de242 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -1144,7 +1144,7 @@ function revokeClient() { echo "" echo "Select the existing client certificate you want to revoke" tail -n +2 /etc/openvpn/easy-rsa/pki/index.txt | grep "^V" | cut -d '=' -f 2 | nl -s ') ' - until [[ "$CLIENT" =~ ^[a-zA-Z0-9_]+$ ]]; do + until [[ $CLIENT =~ ^[a-zA-Z0-9_]+$ ]]; do until [[ $CLIENTNUMBER -ge 1 && $CLIENTNUMBER -le $NUMBEROFCLIENTS ]]; do if [[ $CLIENTNUMBER == '1' ]]; then read -rp "Select one client [1]: " CLIENTNUMBER