]> git.ipfire.org Git - thirdparty/lxc.git/commit
api_clone: don't remove storage if we haven't created it
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 21 Jun 2013 19:16:42 +0000 (14:16 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 24 Jun 2013 18:56:05 +0000 (13:56 -0500)
commit176d9acb2ec17211a0d69bd2bd99f914fad8d7ad
treeff1fe4468be024a38d4088a16e49a7612f5678cf
parentae3f8cf9a4a03c62c6c12968b38b2352388df91c
api_clone: don't remove storage if we haven't created it

In the best case we'll get errors about failing to remove it.  In the
worst case we'll be trying to delete the original container's rootfs.

Reported-by: zoolook <nbensa+lxcusers@gmail.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/lxccontainer.c