]> git.ipfire.org Git - thirdparty/bird.git/commit
Log: Do not open logfiles when parse-and-exit option is active
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Sun, 31 May 2020 11:21:55 +0000 (13:21 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 3 Jun 2020 12:59:20 +0000 (14:59 +0200)
commitfae5448134dfec004be818d18ff1583cc61e5549
tree1f305c8c5b8059dcb4fb490752413c7075efdcce
parenteee8af4db2d36a5017eac4447075cac3346e8b23
Log: Do not open logfiles when parse-and-exit option is active

This is a quick workaround for an issue where configured logfiles are
opened/created during parsing of a config file even when parse-and-exit
option is active. We should later refactor the logging code to avoid
opening log during parsing altogether.
sysdep/unix/config.Y
sysdep/unix/main.c
sysdep/unix/unix.h