]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/start.c
fix network devices cleanup on error
authorDaniel Lezcano <daniel.lezcano@free.fr>
Thu, 25 Feb 2010 09:24:13 +0000 (10:24 +0100)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 25 Feb 2010 09:24:13 +0000 (10:24 +0100)
commit7fef7a06d809334b178f76630bb10faa16dc58c0
tree49e862d4fe7703fbc3d44c6c708fc025fa75051e
parentc547a83527cb88bede0ccc323b79145d225da2d0
fix network devices cleanup on error

Delete the network devices when an error occurs before they are moved
to the network namespace (network namespace destruction triggers the
network devices deletion). Otherwise they stay in the system.

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