]> git.proxmox.com Git - mirror_lxc.git/commit
fix up lxc-usernsexec's exit status
authorTycho Andersen <tycho@tycho.ws>
Mon, 8 Jan 2018 16:20:24 +0000 (16:20 +0000)
committerTycho Andersen <tycho@tycho.ws>
Mon, 8 Jan 2018 16:20:24 +0000 (16:20 +0000)
commitd8208db47785d93d8dcb96a83c0b015587a77448
treeb1cd73ca1bf032e9c594fb1af2d7c081446fbc77
parent9531b90aa2066398471f2fb77b0ac38c1079ca59
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>
src/lxc/tools/lxc_usernsexec.c