[systemd-devel] [PATCH] cgroup-util: Don't send SIGCONT after SIGKILL
Lennart Poettering
lennart at poettering.net
Sun Nov 30 13:59:10 PST 2014
On Sat, 29.11.14 11:31, Ross Lagerwall (rosslagerwall at gmail.com) wrote:
Applied! Thanks!
> ---
> src/shared/cgroup-util.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/shared/cgroup-util.c b/src/shared/cgroup-util.c
> index bc5030e..e595d89 100644
> --- a/src/shared/cgroup-util.c
> +++ b/src/shared/cgroup-util.c
> @@ -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)
> --
> 2.1.2
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list