]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/start.c
lxc-start to report exit code of started application
authorMichel Normand <normand@fr.ibm.com>
Mon, 18 May 2009 20:27:34 +0000 (22:27 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Mon, 18 May 2009 20:27:34 +0000 (22:27 +0200)
commite043236e2a35948aeeb3cf85feab7c2f1e2b1fd1
tree825e31f12a1a6870b1710dcddf3c0e6b00f2b012
parent41cfbac9dd3e449dfda6fd908f8e13cc4ec40990
lxc-start to report exit code of started application

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

Signed-off-by: Michel Normand <normand@fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/error.c
src/lxc/error.h
src/lxc/lxc_start.c
src/lxc/start.c