diff --git a/openvpn-install.sh b/openvpn-install.sh index 06ad608a..82194303 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -1080,7 +1080,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