]> git.proxmox.com Git - mirror_lxc.git/commit
fix multiple console for a container
authorDaniel Lezcano <daniel.lezcano@free.fr>
Tue, 26 Oct 2010 15:42:38 +0000 (17:42 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 26 Oct 2010 15:42:38 +0000 (17:42 +0200)
commit43eb6f2931cd3af5eee734e46fed122301e4d0cf
tree608924f11019bab3f1598db75a30bba02ab34080
parent7ee895e428cef6df576e4c9e6d10ac7d41b5a213
fix multiple console for a container

Don't close the socket when we ask for a console, otherwise this will
make the console slot to be freed, so the next console will use the same
slot leading to an erratic behavior.

Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
src/lxc/commands.c
src/lxc/commands.h
src/lxc/console.c