According to Serge, we no longer need to keep cgmanager connection open.
As long as my tests go it seems to be working fine.
Signed-off-by: S.Çağlar Onur <caglar@10ur.org>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
if (lxc_console_set_stdfds(handler) < 0)
goto out_warn_father;
- if (lxc_check_inherited(handler->conf, handler->sigfd))
- return -1;
-
/* If we mounted a temporary proc, then unmount it now */
tmp_proc_unmount(handler->conf);
.argv = argv,
};
+ if (lxc_check_inherited(conf, -1))
+ return -1;
+
conf->need_utmp_watch = 1;
return __lxc_start(name, conf, &start_ops, &start_arg, lxcpath);
}