cgroup-util: Don't send SIGCONT after SIGKILL
This commit is contained in:
parent
f89c4e15c9
commit
dc8962da74
|
@ -195,7 +195,7 @@ int cg_kill(const char *controller, const char *path, int sig, bool sigcont, boo
|
||||||
if (ret >= 0 && errno != ESRCH)
|
if (ret >= 0 && errno != ESRCH)
|
||||||
ret = -errno;
|
ret = -errno;
|
||||||
} else {
|
} else {
|
||||||
if (sigcont)
|
if (sigcont && sig != SIGKILL)
|
||||||
kill(pid, SIGCONT);
|
kill(pid, SIGCONT);
|
||||||
|
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
|
|
Loading…
Reference in a new issue