From 31e54cc807edf5294828233e53ca95e754c5cf80 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 1 Jul 2011 00:41:41 +0200 Subject: [PATCH] cgroup: kill processes even in cgroups that aren't realized --- src/cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cgroup.c b/src/cgroup.c index a3491582..d16b5f87 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); -- 2.39.5