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:
Joachim Nilsson
2020-02-05 12:32:04 +01:00
parent f38299bfca
commit 9a9a9f4bfe
-2
View File
@@ -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] = "";