summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorRoss Lagerwall <rosslagerwall@gmail.com>2014-11-29 11:31:30 +0000
committerLennart Poettering <lennart@poettering.net>2014-11-30 22:58:55 +0100
commitdc8962da74c62779d8899a8166f704c30287fff0 (patch)
tree59ae6e339824bb403af473fd1d27182cb70a70e0 /src/shared
parentf89c4e15c966cd3af22bd71bd5adba9a0a8e7404 (diff)
cgroup-util: Don't send SIGCONT after SIGKILL
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/cgroup-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/cgroup-util.c b/src/shared/cgroup-util.c
index bc5030ebb2..e595d895d2 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)