diff options
Diffstat (limited to 'src/lightdm.c')
-rw-r--r-- | src/lightdm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lightdm.c b/src/lightdm.c index 4bc5c0c1..e2b9f8d2 100644 --- a/src/lightdm.c +++ b/src/lightdm.c @@ -124,6 +124,7 @@ log_init (void) g_free (log_dir); log_fd = open (path, O_WRONLY | O_CREAT | O_TRUNC, 0600); + fcntl (log_fd, F_SETFD, FD_CLOEXEC); g_log_set_default_handler (log_cb, NULL); g_debug ("Logging to %s", path); |