mirror of
https://github.com/troglobit/finit.git
synced 2026-11-09 16:21:24 +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:
1 parent
f38299bfca
commit
9a9a9f4bfe
1 file changed
-2
@@ -355,8 +355,6 @@ static int service_start(svc_t *svc)
|
|||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
if (svc->log.enabled && !svc->log.null)
|
|
||||||
waitpid(pid, NULL, 0);
|
|
||||||
_exit(status);
|
_exit(status);
|
||||||
} else if (log_is_debug()) {
|
} else if (log_is_debug()) {
|
||||||
char buf[CMD_SIZE] = "";
|
char buf[CMD_SIZE] = "";
|
||||||
|
|||||||
Reference in new issue
Block a user