cgroup-util: Don't send SIGCONT after SIGKILL
This commit is contained in:
committed by
Lennart Poettering
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)
|
||||
ret = -errno;
|
||||
} else {
|
||||
if (sigcont)
|
||||
if (sigcont && sig != SIGKILL)
|
||||
kill(pid, SIGCONT);
|
||||
|
||||
if (ret == 0)
|
||||
|
||||
Reference in New Issue
Block a user