Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return non-zero code when client name taken #1194

Open
karol-gro opened this issue Jan 4, 2024 · 0 comments · May be fixed by #1195
Open

Return non-zero code when client name taken #1194

karol-gro opened this issue Jan 4, 2024 · 0 comments · May be fixed by #1195

Comments

@karol-gro
Copy link

Now, if client name is taken, the script outputs The specified client CN was already found in easy-rsa, please choose another name, but returns 0 as if the operation was successful

I'd suggest returning 1 in that case

karol-gro added a commit to karol-gro/openvpn-install that referenced this issue Jan 4, 2024
@karol-gro karol-gro linked a pull request Jan 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant