diff options
author | Ross Lagerwall <rosslagerwall@gmail.com> | 2014-11-29 11:31:30 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-12-01 19:37:06 -0500 |
commit | c0d8d523a6a607c1d8a642c2320a191878051045 (patch) | |
tree | e26fe372f4039de00ac1b3624e30e16c7fb8af55 /src/shared/cgroup-util.c | |
parent | 4e7269063d2884374f95f1e83023006e42296533 (diff) |
cgroup-util: Don't send SIGCONT after SIGKILL
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/shared/cgroup-util.c')
-rw-r--r-- | src/shared/cgroup-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/cgroup-util.c b/src/shared/cgroup-util.c index 3f9018cf1f..f1dad13656 100644 --- a/src/shared/cgroup-util.c +++ b/src/shared/cgroup-util.c @@ -118,7 +118,7 @@ int cg_kill(const char *controller, const char *path, int sig, bool sigcont, boo if (ret >= 0 && errno != ESRCH) ret = -errno; } else { - if (sigcont) + if (sigcont && sig != SIGKILL) kill(pid, SIGCONT); if (ret == 0) |