Merge pull request #4670 from htejun/systemd-controller-on-unified-v2

Systemd controller on unified v2
This commit is contained in:
Lennart Poettering
2017-02-23 16:23:02 +01:00
committed by GitHub
20 changed files with 484 additions and 319 deletions
+1 -1
View File
@@ -776,7 +776,7 @@ static int manager_setup_cgroups_agent(Manager *m) {
if (!MANAGER_IS_SYSTEM(m))
return 0;
if (cg_unified(SYSTEMD_CGROUP_CONTROLLER) > 0) /* We don't need this anymore on the unified hierarchy */
if (cg_unified(SYSTEMD_CGROUP_CONTROLLER)) /* We don't need this anymore on the unified hierarchy */
return 0;
if (m->cgroups_agent_fd < 0) {