From: Harald Dunkel Date: Fri, 3 May 2013 08:53:41 +0000 (+0200) Subject: lxc-create: add missing -P option for running lxc-destroy X-Git-Tag: lxc-1.0.0.alpha1~1^2~228 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ee3042a5419ea4c9bb0d1c264715f9d9c39bfa3;p=thirdparty%2Flxc.git lxc-create: add missing -P option for running lxc-destroy Signed-off-by: Harald Dunkel Signed-off-by: Serge Hallyn --- diff --git a/src/lxc/lxc-create.in b/src/lxc/lxc-create.in index 286ed6a00..d85450157 100644 --- a/src/lxc/lxc-create.in +++ b/src/lxc/lxc-create.in @@ -316,7 +316,7 @@ cleanup() { zfs destroy "$zfs_root/$lxc_name" || true fi - ${bindir}/lxc-destroy -n $lxc_name + ${bindir}/lxc-destroy -n $lxc_name -P "$lxc_path" echo "$(basename $0): aborted" >&2 exit 1 }