]> git.proxmox.com Git - mirror_lxc.git/commit
if the rootfs is a btrfs subvolume, delete it instead of rm -rf
authorDwight Engen <dwight.engen@oracle.com>
Wed, 26 Sep 2012 16:59:28 +0000 (12:59 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 25 Oct 2012 08:36:28 +0000 (10:36 +0200)
commit5ae26abb52046b6f21afa06bcbac221c3cf8f1c0
tree4cfc6f3f42fdaffaf4249202b47db6949fb6bdb6
parent06a1e1db99844b95e21c3b67964974f9032720ea
if the rootfs is a btrfs subvolume, delete it instead of rm -rf

Check if the rootfs is btrfs subvolume, and if so delete it. Otherwise
fall back to the rm -rf.

Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
src/lxc/lxc-destroy.in