summaryrefslogtreecommitdiffstats
path: root/src/ulogd.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2013-03-27 00:07:31 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2013-03-27 00:07:31 +0100
commitcf0c976fdb6383640cd7ea8f2c8f07d386e9a031 (patch)
treef3b57bf3980baec731ed2d60f277cfa40b29c4f4 /src/ulogd.c
parent3179bd4de89de7c2388849f5bc48e8f5aad9e5b9 (diff)
Revert "ulogd: close logfile description in the exit path of parent process"
This reverts commit 3179bd4de89de7c2388849f5bc48e8f5aad9e5b9. Pointing to the wrong place. This is not the file descriptor that ulogd is leaking.
Diffstat (limited to 'src/ulogd.c')
-rw-r--r--src/ulogd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ulogd.c b/src/ulogd.c
index ded9218..b28d0f8 100644
--- a/src/ulogd.c
+++ b/src/ulogd.c
@@ -1277,7 +1277,6 @@ int main(int argc, char* argv[])
fclose(stdout);
fclose(stderr);
fclose(stdin);
- fclose(logfile);
setsid();
}