summaryrefslogtreecommitdiff
path: root/src/login/elogind.c
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-07-04 16:59:46 +0200
committerSven Eden <yamakuzure@gmx.net>2017-07-05 08:51:07 +0200
commitf7afdbbb986bed7022976612a740027697ce93ec (patch)
tree1426fa660bcb3c4a91d69208bdb8d06597410be3 /src/login/elogind.c
parent20cca8d0627a8edc265314d700f5c4aa96ebed4e (diff)
Prep v232: Apply missing updates from upstream
Diffstat (limited to 'src/login/elogind.c')
-rw-r--r--src/login/elogind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/elogind.c b/src/login/elogind.c
index 5ff9ed7f2..5da9ae6a2 100644
--- a/src/login/elogind.c
+++ b/src/login/elogind.c
@@ -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) {