On Mon, Sep 21, 2015 at 06:01:41PM +0200, Christian Brauner wrote:
> Signed-off-by: Christian Brauner <christianvanbrau...@gmail.com>

Acked-by: Stéphane Graber <stgra...@ubuntu.com>

> ---
>  src/lxc/start.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/lxc/start.c b/src/lxc/start.c
> index 3dd1064..4e977c5 100644
> --- a/src/lxc/start.c
> +++ b/src/lxc/start.c
> @@ -502,7 +502,7 @@ void lxc_fini(const char *name, struct lxc_handler 
> *handler)
>               close(handler->ttysock[0]);
>               close(handler->ttysock[1]);
>       }
> -     if (handler->conf->ephemeral == 1) {
> +     if (handler->conf->ephemeral == 1 && handler->conf->reboot != 1) {
>               lxc_destroy_container_on_signal(handler, name);
>       }
>       cgroup_destroy(handler);
> -- 
> 2.5.3
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel@lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

Attachment: signature.asc
Description: Digital signature

_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to