chiark / gitweb /
Prep v232: Apply missing updates from upstream
[elogind.git] / src / login / elogind.c
index 5ff9ed7f2139c73c3b8e06b5f2fdc32a53949a71..5da9ae6a2d7536462726c7cd7469ff9741a35b48 100644 (file)
@@ -145,7 +145,7 @@ int elogind_setup_cgroups_agent(Manager *m) {
         if (!MANAGER_IS_SYSTEM(m))
                 return 0;
 
-        if (cg_unified() > 0) /* We don't need this anymore on the unified hierarchy */
+        if (cg_unified(SYSTEMD_CGROUP_CONTROLLER) > 0) /* We don't need this anymore on the unified hierarchy */
                 return 0;
 
         if (m->cgroups_agent_fd < 0) {