]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-execute: actually exit with the status of the spawned task
authorTycho Andersen <tycho@tycho.ws>
Fri, 19 Jan 2018 03:31:33 +0000 (03:31 +0000)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 19 Jan 2018 14:20:06 +0000 (15:20 +0100)
commitcc00cc5669f265810b4eff327038194fbdc43e3b
treeebcccefafce73a1e60160f2ce39bc09dbee60c9d
parent6d88f7ea6e7aed869e64551a8fade0bb6527cf0d
lxc-execute: actually exit with the status of the spawned task

Now that we have things propagated through init and liblxc correctly, at
least in non-daemon mode, we can exit with the actual exit status of the
task, instead of always succeeding, which is not so helpful.

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
src/lxc/tools/lxc_execute.c