cgroups: do not return early when entering monitor cgroups

This will happen when restoring a container via criu. Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 045ed5d9
......@@ -1483,7 +1483,7 @@ __cgfsng_ops static bool cgfsng_monitor_enter(struct cgroup_ops *ops,
return log_error_errno(false, errno, "Failed to enter cgroup \"%s\"", h->monitor_full_path);
if (handler->transient_pid <= 0)
return true;
continue;
ret = lxc_writeat(h->cgfd_mon, "cgroup.procs", transient, transient_len);
if (ret)
......
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