cgroup-util: Don't send SIGCONT after SIGKILL

This commit is contained in:
Ross Lagerwall 2014-11-29 11:31:30 +00:00 committed by Lennart Poettering
parent f89c4e15c9
commit dc8962da74
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,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)