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
(from parent 1:
11901ad
)
service: fix incorrect argument
author
Michal Schmidt
<mschmidt@redhat.com>
Tue, 26 Jun 2012 09:32:30 +0000
(11:32 +0200)
committer
Michal Schmidt
<mschmidt@redhat.com>
Tue, 26 Jun 2012 09:32:30 +0000
(11:32 +0200)
The last argument to service_enter_dead() is bool allow_restart, not
a service result.
src/core/service.c
patch
|
blob
|
history
diff --git
a/src/core/service.c
b/src/core/service.c
index ec6aaa55c59a29d966eea07b39d55f02dd1af8ca..e598f9b2793cb8332a33a549d12a46ef3b7f3eb7 100644
(file)
--- a/
src/core/service.c
+++ b/
src/core/service.c
@@
-3227,7
+3227,7
@@
static void service_cgroup_notify_event(Unit *u) {
case SERVICE_FINAL_SIGTERM:
case SERVICE_FINAL_SIGKILL:
if (main_pid_good(s) <= 0 && !control_pid_good(s))
- service_enter_dead(s, SERVICE_SUCCESS,
SERVICE_SUCCESS
);
+ service_enter_dead(s, SERVICE_SUCCESS,
true
);
break;