summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ulogd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ulogd.c b/src/ulogd.c
index b28d0f8..ded9218 100644
--- a/src/ulogd.c
+++ b/src/ulogd.c
@@ -1277,6 +1277,7 @@ int main(int argc, char* argv[])
fclose(stdout);
fclose(stderr);
fclose(stdin);
+ fclose(logfile);
setsid();
}