summaryrefslogtreecommitdiff
path: root/src/cgroup.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-07-01 00:41:41 +0200
committerLennart Poettering <lennart@poettering.net>2011-07-01 00:41:41 +0200
commit31e54cc807edf5294828233e53ca95e754c5cf80 (patch)
tree6662dbe6d96f5890ca6170dfb0deca2a7fd1f0bd /src/cgroup.c
parent0aef434548f43ce2635620e7f97073aa3e23cf96 (diff)
cgroup: kill processes even in cgroups that aren't realized
Diffstat (limited to 'src/cgroup.c')
-rw-r--r--src/cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgroup.c b/src/cgroup.c
index a3491582be..d16b5f878f 100644
--- a/src/cgroup.c
+++ b/src/cgroup.c
@@ -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);