chiark / gitweb /
cgroup: don't trim a cgroup we create, we might just take it over from somebody else
[elogind.git] / src / cgroup.c
index d16b5f878fbc6b4eb6c8c7455fb09ef7e1ad5925..4aa01f18981b5c7a84e7ba2b66c78855201f344d 100644 (file)
@@ -46,9 +46,6 @@ int cgroup_bonding_realize(CGroupBonding *b) {
 
         b->realized = true;
 
-        if (b->ours)
-                cg_trim(b->controller, b->path, false);
-
         return 0;
 }