diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-01-18 22:57:46 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-01-18 22:57:46 +0100 |
commit | d8cfa085894607afdeb8bba025d842adf09ab7ea (patch) | |
tree | 04396de22ccfe400e88c994ab4d17628cf76842e | |
parent | ba035df230e41bf9d70ebb47915c9472b7884412 (diff) |
service: if a reload operation fails, don't shut down the service
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | src/service.c | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -1,5 +1,3 @@ -* don't fail a service if reload fails - * reload PID file after reload, allow dynamically changing main PIDs * Fix multiple reload statements diff --git a/src/service.c b/src/service.c index e765004e4f..67b1dfd4a6 100644 --- a/src/service.c +++ b/src/service.c @@ -2650,7 +2650,7 @@ static void service_sigchld_event(Unit *u, pid_t pid, int code, int status) { if (success) service_enter_running(s, true); else - service_enter_stop(s, false); + service_enter_running(s, false); break; |