]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-execute to report exit code of started application
authorMichel Normand <normand@fr.ibm.com>
Mon, 18 May 2009 20:27:35 +0000 (22:27 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Mon, 18 May 2009 20:27:35 +0000 (22:27 +0200)
commitb0ed5e6423ca1f0b74f8c0ad12901c845e3ffbd1
tree748864fbba86bd5a0212bef1b76c642689afe224
parent8559e7039c60be8a91a372541ed4ca30ca398530
lxc-execute to report exit code of started application

The exit code of the application as reported by lxc-execute is:
0-126       exit code of the application itself
128+n       signal n received by the application
255         lxc error

Note that this is the same type of changes as done
for lxc-start command line.

Signed-off-by: Michel Normand <normand@fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/lxc_execute.c
src/lxc/lxc_init.c