chiark / gitweb /
service: if a reload operation fails, don't shut down the service
authorLennart Poettering <lennart@poettering.net>
Tue, 18 Jan 2011 21:57:46 +0000 (22:57 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 18 Jan 2011 21:57:46 +0000 (22:57 +0100)
TODO
src/service.c

diff --git a/TODO b/TODO
index 4605115..61a8cfc 100644 (file)
--- a/TODO
+++ b/TODO
@@ -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
index e765004..67b1dfd 100644 (file)
@@ -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;