mirror of
https://github.com/troglobit/finit.git
synced 2026-10-27 12:20:54 +00:00
Simplify, drop SYNC_SHUTDOWN state file, not needed anymore
Similar to 6224166 (previous commit), this old code is a remnant of a
bygone era and not needed anymore.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
62241668df
commit
e8f5ec2579
4 files changed
+18
-24
No files matched your search
+1
-1
@@ -1422,7 +1422,7 @@ void service_monitor(pid_t lost, int status)
|
||||
{
|
||||
svc_t *svc;
|
||||
|
||||
if (fexist(SYNC_SHUTDOWN) || lost <= 1)
|
||||
if (lost <= 1)
|
||||
return;
|
||||
|
||||
svc = svc_find_by_pid(lost);
|
||||
|
||||
Reference in new issue
Block a user