Remove closelog call

It's unclear whether closelog is really safe to call in pre-exec
context, so just trust that the log is opened with CLOEXEC.
This commit is contained in:
C. McEnroe 2020-08-15 15:37:37 -04:00
parent 92d27e09c3
commit e25813c0b2

View File

@ -177,7 +177,6 @@ void serviceStart(struct Service *service) {
return;
}
closelog();
dup2(service->outPipe[1], STDOUT_FILENO);
dup2(service->errPipe[1], STDERR_FILENO);