mirror of
https://github.com/troglobit/finit.git
synced 2026-10-12 10:12:32 +00:00
Remove old blocking (!) waitpid() call in service_start()
Remnant from when processes were collected in service_start(), now all handled by service_monitor() from SIGCHLD and service_step(). Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -355,8 +355,6 @@ static int service_start(svc_t *svc)
|
||||
}
|
||||
} else
|
||||
#endif
|
||||
if (svc->log.enabled && !svc->log.null)
|
||||
waitpid(pid, NULL, 0);
|
||||
_exit(status);
|
||||
} else if (log_is_debug()) {
|
||||
char buf[CMD_SIZE] = "";
|
||||
|
||||
Reference in New Issue
Block a user