From 0c85a4f3efa2883c414ed8ff59aea263b85b7687 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 23 Aug 2011 00:37:35 +0200 Subject: cgroup: optionally mount a specific cgroup controllers together, and add cpu+cpuacct to the default --- src/cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cgroup.c') diff --git a/src/cgroup.c b/src/cgroup.c index 0005a4fb67..dcf2c2feb7 100644 --- a/src/cgroup.c +++ b/src/cgroup.c @@ -270,7 +270,7 @@ int manager_setup_cgroup(Manager *m) { assert(m); /* 0. Be nice to Ingo Molnar #628004 */ - if (path_is_mount_point("/sys/fs/cgroup/systemd") <= 0) { + if (path_is_mount_point("/sys/fs/cgroup/systemd", false) <= 0) { log_warning("No control group support available, not creating root group."); return 0; } -- cgit v1.2.3-54-g00ecf