aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2022-07-07 18:15:06 +0000
committerOmar Polo <op@omarpolo.com>2022-07-07 18:15:06 +0000
commitbd2eb0952052d9213b3b3832d2f2f8e16257f244 (patch)
tree0d32bd275f54b873d60e2a46f1f978bb174b3e7a
parent93124fce990ed1215559f303bdd147d2eeef3260 (diff)
call tzset(3) to fix times in logs
reported by Karl Jeacle, thanks!
-rw-r--r--log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/log.c b/log.c
index b9ffe25..049c1ca 100644
--- a/log.c
+++ b/log.c
@@ -334,6 +334,7 @@ logger_main(int fd, struct imsgbuf *ibuf)
log = stderr;
openlog(getprogname(), LOG_NDELAY, LOG_DAEMON);
+ tzset();
event_init();