[lxc-devel] [lxc/lxc] b52b05: tools: use exit(EXIT_*) everywhere
GitHub
noreply at github.com
Fri Aug 26 10:15:38 UTC 2016
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: b52b0595913059cb18ac396ede5d42a63950f0a2
https://github.com/lxc/lxc/commit/b52b0595913059cb18ac396ede5d42a63950f0a2
Author: Christian Brauner <cbrauner at suse.de>
Date: 2016-08-18 (Thu, 18 Aug 2016)
Changed paths:
M src/lxc/tools/lxc_autostart.c
M src/lxc/tools/lxc_cgroup.c
M src/lxc/tools/lxc_checkpoint.c
M src/lxc/tools/lxc_config.c
M src/lxc/tools/lxc_console.c
M src/lxc/tools/lxc_device.c
M src/lxc/tools/lxc_execute.c
M src/lxc/tools/lxc_freeze.c
M src/lxc/tools/lxc_info.c
M src/lxc/tools/lxc_monitor.c
M src/lxc/tools/lxc_start.c
M src/lxc/tools/lxc_stop.c
M src/lxc/tools/lxc_top.c
M src/lxc/tools/lxc_unfreeze.c
M src/lxc/tools/lxc_unshare.c
M src/lxc/tools/lxc_usernsexec.c
M src/lxc/tools/lxc_wait.c
Log Message:
-----------
tools: use exit(EXIT_*) everywhere
Signed-off-by: Christian Brauner <cbrauner at suse.de>
Commit: f0c6ee287ccdf55e3a533bf1bc085f94242036f1
https://github.com/lxc/lxc/commit/f0c6ee287ccdf55e3a533bf1bc085f94242036f1
Author: Christian Brauner <cbrauner at suse.de>
Date: 2016-08-18 (Thu, 18 Aug 2016)
Changed paths:
M src/lxc/tools/lxc_clone.c
M src/lxc/tools/lxc_config.c
M src/lxc/tools/lxc_device.c
M src/lxc/tools/lxc_unshare.c
M src/lxc/tools/lxc_usernsexec.c
Log Message:
-----------
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 at suse.de>
Commit: fe8ded6d57e74c32238b8dc560b5d79807f4501e
https://github.com/lxc/lxc/commit/fe8ded6d57e74c32238b8dc560b5d79807f4501e
Author: Serge Hallyn <serge at hallyn.com>
Date: 2016-08-26 (Fri, 26 Aug 2016)
Changed paths:
M src/lxc/tools/lxc_autostart.c
M src/lxc/tools/lxc_cgroup.c
M src/lxc/tools/lxc_checkpoint.c
M src/lxc/tools/lxc_clone.c
M src/lxc/tools/lxc_config.c
M src/lxc/tools/lxc_console.c
M src/lxc/tools/lxc_device.c
M src/lxc/tools/lxc_execute.c
M src/lxc/tools/lxc_freeze.c
M src/lxc/tools/lxc_info.c
M src/lxc/tools/lxc_monitor.c
M src/lxc/tools/lxc_start.c
M src/lxc/tools/lxc_stop.c
M src/lxc/tools/lxc_top.c
M src/lxc/tools/lxc_unfreeze.c
M src/lxc/tools/lxc_unshare.c
M src/lxc/tools/lxc_usernsexec.c
M src/lxc/tools/lxc_wait.c
Log Message:
-----------
Merge pull request #1139 from brauner/2016-08-18/use_exit_in_all_tools
tools: use exit(EXIT_*) everywhere
Compare: https://github.com/lxc/lxc/compare/ff475ab9ff63...fe8ded6d57e7
More information about the lxc-devel
mailing list