start: fix comment about time namespace preservation

parent 3a89b0ab
...@@ -1909,7 +1909,7 @@ static int lxc_spawn(struct lxc_handler *handler) ...@@ -1909,7 +1909,7 @@ static int lxc_spawn(struct lxc_handler *handler)
TRACE("Finished setting up cgroups"); TRACE("Finished setting up cgroups");
if (handler->ns_unshare_flags & CLONE_NEWTIME) { if (handler->ns_unshare_flags & CLONE_NEWTIME) {
/* Now we're ready to preserve the cgroup namespace */ /* Now we're ready to preserve the time namespace */
ret = lxc_try_preserve_namespace(handler, LXC_NS_TIME, "time"); ret = lxc_try_preserve_namespace(handler, LXC_NS_TIME, "time");
if (ret < 0) { if (ret < 0) {
if (ret != -ENOENT) { if (ret != -ENOENT) {
......
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