call tzset(3) to fix times in logs

reported by Karl Jeacle, thanks!
This commit is contained in:
Omar Polo 2022-07-07 18:15:06 +00:00
parent 93124fce99
commit bd2eb09520
1 changed files with 1 additions and 0 deletions

1
log.c
View File

@ -334,6 +334,7 @@ logger_main(int fd, struct imsgbuf *ibuf)
log = stderr;
openlog(getprogname(), LOG_NDELAY, LOG_DAEMON);
tzset();
event_init();