From e25813c0b2e28d3216c03ab99bb13ec1cc5d8535 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sat, 15 Aug 2020 15:37:37 -0400 Subject: 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. --- service.c | 1 - 1 file changed, 1 deletion(-) (limited to 'service.c') diff --git a/service.c b/service.c index 45a05d2..d8998af 100644 --- a/service.c +++ b/service.c @@ -177,7 +177,6 @@ void serviceStart(struct Service *service) { return; } - closelog(); dup2(service->outPipe[1], STDOUT_FILENO); dup2(service->errPipe[1], STDERR_FILENO); -- cgit 1.4.1