]> err.no Git - systemd/commitdiff
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 4605115d0d2f537ff29b521d37674cbee854cafd..61a8cfcdd13cb3023bdfd73a19111d98259a4416 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 e765004e4fe4434df26f0d66aa7472cfef74e960..67b1dfd4a695f4adda96debd18605c2936516c18 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;