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 proper error code in postfixadmin-cli on error #197

Closed
avekrivoy opened this issue Jul 25, 2018 · 1 comment
Closed

Return proper error code in postfixadmin-cli on error #197

avekrivoy opened this issue Jul 25, 2018 · 1 comment
Assignees

Comments

@avekrivoy
Copy link

postfixadmin-cli always exits with 0 return code

root@mail:/tmp# /usr/bin/postfixadmin-cli mailbox add test@example.com --password testpass --password2 testpass1

Welcome to Postfixadmin-CLI v0.2
---------------------------------------------------------------
Error: The passwords that you supplied don't match!


root@mail:/tmp# echo $?
0
@DavidGoodwin DavidGoodwin added this to the postfixadmin-3.2.3 milestone Sep 6, 2019
@DavidGoodwin
Copy link
Member

9cd7dac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants