]> err.no Git - systemd/commitdiff
cgroup: kill processes even in cgroups that aren't realized
authorLennart Poettering <lennart@poettering.net>
Thu, 30 Jun 2011 22:41:41 +0000 (00:41 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 30 Jun 2011 22:41:41 +0000 (00:41 +0200)
src/cgroup.c

index a3491582be316428d91605f9654a2f4c2df76274..d16b5f878fbc6b4eb6c8c7455fb09ef7e1ad5925 100644 (file)
@@ -189,7 +189,7 @@ int cgroup_bonding_kill(CGroupBonding *b, int sig, bool sigcont, Set *s) {
         assert(sig >= 0);
 
         /* Don't kill cgroups that aren't ours */
-        if (!b->realized || !b->ours)
+        if (!b->ours)
                 return 0;
 
         return cg_kill_recursive(b->controller, b->path, sig, sigcont, true, false, s);