chiark / gitweb /
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 a349158..d16b5f8 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);