Skip to content

Commit

Permalink
Merge pull request #2194 from greenbone/consistent-log-tz
Browse files Browse the repository at this point in the history
Change: always use the same timezone in the logs
  • Loading branch information
a-h-abdelsalam authored Jun 14, 2024
2 parents 9e1e43c + 5783984 commit 5e7f0cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gvmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2404,6 +2404,9 @@ gvmd (int argc, char** argv, char *env[])
gvm_close_sentry ();
exit (EXIT_FAILURE);
}
else
set_log_tz ("utc 0");

tzset ();

/* Set umask to hoard created files, including the database. */
Expand Down

0 comments on commit 5e7f0cc

Please sign in to comment.