]> git.ipfire.org Git - thirdparty/lxc.git/commit
start.c: do not reboot on lxc.hook.post-stop fail 862/head
authorChristian Brauner <christian.brauner@mailbox.org>
Tue, 1 Mar 2016 09:42:45 +0000 (10:42 +0100)
committerChristian Brauner <christian.brauner@mailbox.org>
Tue, 1 Mar 2016 11:54:55 +0000 (12:54 +0100)
commitf3787121a0482d1e8729722e4c5de98574fc9808
tree21d3aa4231b4eba51cc595c67f5b1f826d76fd7c
parente6eb4c3e16ab4b7b6a6aba9e779f624ff299e54e
start.c: do not reboot on lxc.hook.post-stop fail

lxc should not reboot the container when lxc.hook.post-stop fails. It should
simply shutdown. This makes the behavior of lxc.hook.post-stop and
lxc.hook.pre-start consistent. When lxc.hook.pre-start fails, the container
does not start.

Signed-off-by: Christian Brauner <christian.brauner@mailbox.org>
src/lxc/start.c