chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f89c4e1
)
cgroup-util: Don't send SIGCONT after SIGKILL
author
Ross Lagerwall
<rosslagerwall@gmail.com>
Sat, 29 Nov 2014 11:31:30 +0000
(11:31 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Sun, 30 Nov 2014 21:58:55 +0000
(22:58 +0100)
src/shared/cgroup-util.c
patch
|
blob
|
history
diff --git
a/src/shared/cgroup-util.c
b/src/shared/cgroup-util.c
index bc5030ebb2a29e441573dde0e249152ad22e6c56..e595d895d29afe94cbb71bd9e7c5d41dc95e2ace 100644
(file)
--- 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)