aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/LogInit.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/LogInit.cxx b/src/LogInit.cxx
index c80d4575f..accd1d4d8 100644
--- a/src/LogInit.cxx
+++ b/src/LogInit.cxx
@@ -243,6 +243,8 @@ int cycle_log_files(void)
}
redirect_logs(fd);
+ close(fd);
+
FormatDebug(log_domain, "Done cycling log files");
return 0;
#endif