Skip to content

Commit

Permalink
Return non-zero, when client name taken
Browse files Browse the repository at this point in the history
  • Loading branch information
karol-gro authored Jan 4, 2024
1 parent 5a4b31b commit 9c8c848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openvpn-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9c8c848

Please sign in to comment.