projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea582a0
)
core: never propagate reload failure to service result
author
Lennart Poettering
<lennart@poettering.net>
Wed, 17 Jul 2019 17:16:33 +0000
(19:16 +0200)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Thu, 18 Jul 2019 01:14:02 +0000
(10:14 +0900)
Fixes: #11238
src/core/service.c
patch
|
blob
|
history
diff --git
a/src/core/service.c
b/src/core/service.c
index
65200ff
..
bfbfa4b
100644
(file)
--- a/
src/core/service.c
+++ b/
src/core/service.c
@@
-3524,7
+3524,7
@@
static void service_sigchld_event(Unit *u, pid_t pid, int code, int status) {
service_exec_command_to_string(s->control_command_id),
code, status);
- if (s->result == SERVICE_SUCCESS)
+ if (s->
state != SERVICE_RELOAD && s->
result == SERVICE_SUCCESS)
s->result = f;
if (s->control_command &&