From: Lennart Poettering Date: Thu, 30 Jun 2011 22:41:41 +0000 (+0200) Subject: cgroup: kill processes even in cgroups that aren't realized X-Git-Tag: v30~80 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31e54cc807edf5294828233e53ca95e754c5cf80;p=systemd cgroup: kill processes even in cgroups that aren't realized --- 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);