[lxc-devel] [PATCH 2/4] lxc-create: add missing -P option for running lxc-destroy
Serge Hallyn
serge.hallyn at ubuntu.com
Fri May 3 12:19:06 UTC 2013
Quoting Harald Dunkel (harald.dunkel at aixigo.de):
> ---
> src/lxc/lxc-create.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Ah yes, good catch, thanks.
(Could you please add
Signed-off-by: Harald Dunkel <harald.dunkel at aixigo.de>
which 'git commit -s' should automatically do)
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
>
> diff --git a/src/lxc/lxc-create.in b/src/lxc/lxc-create.in
> index ebbdd7b..970d3ff 100644
> --- a/src/lxc/lxc-create.in
> +++ b/src/lxc/lxc-create.in
> @@ -269,7 +269,7 @@ cleanup() {
> btrfs subvolume delete "$rootfs"
> fi
>
> - ${bindir}/lxc-destroy -n $lxc_name
> + ${bindir}/lxc-destroy -n $lxc_name -P "$lxc_path"
> echo "$(basename $0): aborted" >&2
> exit 1
> }
> --
> 1.8.1.3
>
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite
> It's a free troubleshooting tool designed for production
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap2
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel
More information about the lxc-devel
mailing list