diff --git a/openvpn-install.sh b/openvpn-install.sh index a0e04a4..b4154fe 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -1114,7 +1114,7 @@ function newClient() { if [[ $CLIENTEXISTS == '1' ]]; then echo "" echo "The specified client CN was already found in easy-rsa, please choose another name." - exit + exit 1 else cd /etc/openvpn/easy-rsa/ || return case $PASS in