chiark / gitweb /
cgroup: if we do a cgroup operation then do something on all supported controllers
[elogind.git] / src / core / scope.c
index b94f3ff7ba2758c50d3946b9bd3c634bc39186ea..50e5dbacb4d7fa3936b27d7732cb5341b3b42948 100644 (file)
@@ -257,7 +257,7 @@ static int scope_start(Unit *u) {
                 return r;
         }
 
                 return r;
         }
 
-        r = cg_attach_many_with_mask(u->cgroup_mask, u->cgroup_path, s->pids);
+        r = cg_attach_many_everywhere(u->manager->cgroup_supported, u->cgroup_path, s->pids);
         if (r < 0)
                 return r;
 
         if (r < 0)
                 return r;