]> git.ipfire.org Git - thirdparty/lxc.git/commit
tools: unify exit() calls outside of main() 1139/head
authorChristian Brauner <cbrauner@suse.de>
Thu, 18 Aug 2016 09:11:34 +0000 (11:11 +0200)
committerChristian Brauner <cbrauner@suse.de>
Thu, 18 Aug 2016 09:11:34 +0000 (11:11 +0200)
commitf0c6ee287ccdf55e3a533bf1bc085f94242036f1
tree0b7b5f12617c056ba5aa1f55b3ddb34cac8ebda0
parentb52b0595913059cb18ac396ede5d42a63950f0a2
tools: unify exit() calls outside of main()

This also changes the help exit status of lxc-unshare and lxc-usernsexec. So
far they did exit(EXIT_FAILURE) whereas all other tools do exit(EXIT_SUCCESS).
Let's align them with the rest of the tools. This should be safe to do.

Signed-off-by: Christian Brauner <cbrauner@suse.de>
src/lxc/tools/lxc_clone.c
src/lxc/tools/lxc_config.c
src/lxc/tools/lxc_device.c
src/lxc/tools/lxc_unshare.c
src/lxc/tools/lxc_usernsexec.c