[lxc-devel] [PATCH] lxc-autostart: Respect -P
Serge Hallyn
serge.hallyn at ubuntu.com
Tue Jun 17 15:47:00 UTC 2014
Quoting Stéphane Graber (stgraber at ubuntu.com):
> -P was only used for log setup and not when retrieving the container list.
>
> Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
> ---
> src/lxc/lxc_autostart.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/lxc/lxc_autostart.c b/src/lxc/lxc_autostart.c
> index 920de67..d0e3bfa 100644
> --- a/src/lxc/lxc_autostart.c
> +++ b/src/lxc/lxc_autostart.c
> @@ -343,7 +343,7 @@ int main(int argc, char *argv[])
> return 1;
> lxc_log_options_no_override();
>
> - count = list_defined_containers(NULL, NULL, &containers);
> + count = list_defined_containers(my_args.lxcpath[0], NULL, &containers);
>
> if (count < 0)
> return 1;
> --
> 1.9.1
>
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
More information about the lxc-devel
mailing list