Commit d4afa440 by Marek Majkowski

Cosmetic.

parent 11373487
......@@ -298,12 +298,11 @@ int main(int argc, char *argv[])
}
if (my_args.share_net != NULL) {
int fd;
int pid = pid_from_lxcname(my_args.share_net, lxcpath);
if (pid < 1)
goto out;
fd = open_ns(pid, "net");
int fd = open_ns(pid, "net");
if (fd < 0)
goto out;
conf->inherit_ns_fd[LXC_NS_NET] = fd;
......
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