utils: use lxc_raw_clone() in run_command()

parent ad135e37
......@@ -2162,7 +2162,7 @@ int run_command(char *buf, size_t buf_size, int (*child_fn)(void *), void *args)
return -1;
}
child = fork();
child = lxc_raw_clone(0);
if (child < 0) {
close(pipefd[0]);
close(pipefd[1]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment