]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/conf.c
Don't close fd 0, fd 1
authorDaniel Lezcano <daniel.lezcano@free.fr>
Wed, 19 May 2010 20:15:28 +0000 (22:15 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Wed, 19 May 2010 20:15:28 +0000 (22:15 +0200)
commit5332bb844a521401cf465cc8a2c8b52c7b9af82a
tree8f76f02cc99adfd38b3998b6b0e72a897b7d51b3
parent1362f2eba1dcf47c51cc29cd5d4ef8ea8dfdea7f
Don't close fd 0, fd 1

That breaks the reboot because when we reexec, fd 0 and fd 1 will be
closed and these one are created by lxc, not inherited.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/conf.c
src/lxc/start.c