]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/start.c
Add return error status in the different functions
authordlezcano <dlezcano>
Mon, 17 Nov 2008 16:01:34 +0000 (16:01 +0000)
committerdlezcano <dlezcano>
Mon, 17 Nov 2008 16:01:34 +0000 (16:01 +0000)
commite2bcd7db5e53dc20a25293283ff7c9404b4d0e2c
tree54e6a80aa64d847d00d6a35bf43a284245167ae9
parent5841258071d756a14321b863e01e752f0a9b02d4
Add return error status in the different functions

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Add the most known error to the different API to be followed up by the
caller, so we can later show a better message to the user when something
goes wrong. The error catching is coarse grain right now but will be improved,
step by step.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/cgroup.c
src/lxc/create.c
src/lxc/destroy.c
src/lxc/error.c
src/lxc/error.h
src/lxc/freezer.c
src/lxc/monitor.c
src/lxc/start.c
src/lxc/stop.c