Skip to content

Commit

Permalink
lxc-autostart: Respect -P
Browse files Browse the repository at this point in the history
-P was only used for log setup and not when retrieving the container list.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
  • Loading branch information
stgraber committed Jun 17, 2014
1 parent e018222 commit 9f38aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/lxc_autostart.c
Expand Up @@ -340,7 +340,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;
Expand Down

0 comments on commit 9f38aea

Please sign in to comment.