]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/lxc_start.c
pass lxcpath to lxc_command
[mirror_lxc.git] / src / lxc / lxc_start.c
index c50c36b7cec4748f16a08c728c90bb8cdb4a2849..aac7fe781c22ddef067b4da802da0d1eff16c69c 100644 (file)
@@ -150,6 +150,8 @@ int main(int argc, char *argv[])
                '\0',
        };
        FILE *pid_fp = NULL;
+       /* TODO: add cmdline arg to specify lxcpath */
+       char *lxcpath = NULL;
 
        lxc_list_init(&defines);
 
@@ -258,7 +260,7 @@ int main(int argc, char *argv[])
        if (my_args.close_all_fds)
                conf->close_all_fds = 1;
 
-       err = lxc_start(my_args.name, args, conf);
+       err = lxc_start(my_args.name, args, conf, lxcpath);
 
        /*
         * exec ourself, that requires to have all opened fd