diff options
author | June McEnroe <june@causal.agency> | 2020-08-15 15:37:37 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-08-15 15:37:37 -0400 |
commit | e25813c0b2e28d3216c03ab99bb13ec1cc5d8535 (patch) | |
tree | 6eb1b45104355ce71b2eb175d5e3636b08413dd9 | |
parent | Implement service status (diff) | |
download | catsit-e25813c0b2e28d3216c03ab99bb13ec1cc5d8535.tar.gz catsit-e25813c0b2e28d3216c03ab99bb13ec1cc5d8535.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | service.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |