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

fix up lxc-usernsexec's exit status #2078

Merged
merged 1 commit into from Jan 8, 2018

Conversation

2 participants
@tych0
Member

tych0 commented Jan 8, 2018

  • exit(1) when there is an option parsing error
  • exit(0) when the user explicitly asks for help
  • exit(1) when the user specifies an invalid option

Signed-off-by: Tycho Andersen tycho@tycho.ws

fix up lxc-usernsexec's exit status
* exit(1) when there is an option parsing error
* exit(0) when the user explicitly asks for help
* exit(1) when the user specifies an invalid option

Signed-off-by: Tycho Andersen <tycho@tycho.ws>

@brauner brauner merged commit 6ddb17f into lxc:master Jan 8, 2018

4 checks passed

Branch target Branch target is correct
Details
Signed-off-by All commits signed-off
Details
Testsuite Testsuite passed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment