mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-03-09 15:14:01 +07:00
cgroup-util: Don't send SIGCONT after SIGKILL
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
This commit is contained in:
parent
4e7269063d
commit
c0d8d523a6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user