]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/start.c
Don't raise error if container didn't sys_reboot
authorSerge Hallyn <serge.hallyn@canonical.com>
Tue, 7 Feb 2012 15:01:41 +0000 (09:01 -0600)
committerDaniel Lezcano <daniel.lezcano@free.fr>
Sun, 26 Feb 2012 09:44:40 +0000 (10:44 +0100)
commit8b004f0735b8f2d9e1dd973c2db61d55fdf743c2
tree7d8b2863f1b74862c2f9c40cef64f5fbc760da72
parent5a50e09a4350dfaf5a95dd8d82c7777db9b02b45
Don't raise error if container didn't sys_reboot

Don't call it an error if a container exits without calling sys_reboot.
Particularly since that will almost always be the case with lxc-execute.
This fixes a regression introduced in commit
"49296e2ebfe7c5f9d6ebafbb54f5c5e56a0cc085: support proper container
reboot"

Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/start.c