service: if a reload operation fails, don't shut down the service

This commit is contained in:
Lennart Poettering 2011-01-18 22:57:46 +01:00
parent ba035df230
commit d8cfa08589
2 changed files with 1 additions and 3 deletions

2
TODO
View File

@ -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

View 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;