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:
c72aadd
)
service: don't enter a second SIGTERM/SIGKILL cycle if no ExecStopPost= process is...
author
Michael Olbrich
<m.olbrich@pengutronix.de>
Wed, 12 Jun 2013 06:41:16 +0000
(08:41 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 18 Jul 2013 00:32:33 +0000
(
02:32
+0200)
It won't help if the main process is still there and there is no new
process to kill.
src/core/service.c
patch
|
blob
|
history
diff --git
a/src/core/service.c
b/src/core/service.c
index 2bc0dc5877d94036819114e701527cb7d6a95401..b98f11aed83be9683737969c67c140e9eb0c908e 100644
(file)
--- a/
src/core/service.c
+++ b/
src/core/service.c
@@
-1987,7
+1987,7
@@
static void service_enter_stop_post(Service *s, ServiceResult f) {
service_set_state(s, SERVICE_STOP_POST);
} else
- service_enter_
signal(s, SERVICE_FINAL_SIGTERM, SERVICE_SUCCESS
);
+ service_enter_
dead(s, SERVICE_SUCCESS, true
);
return;