cgroup-util: Don't send SIGCONT after SIGKILL

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
This commit is contained in:
Ross Lagerwall 2014-11-29 11:31:30 +00:00 committed by Anthony G. Basile
parent 4e7269063d
commit c0d8d523a6

View File

@ -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)