mirror of
https://github.com/rsmarples/dhcpcd.git
synced 2024-11-24 10:35:03 +08:00
dhcpcd should log to syslog even with quiet.
This commit is contained in:
parent
446564046d
commit
6986f2ec49
2
dhcpcd.c
2
dhcpcd.c
@ -1630,7 +1630,7 @@ main(int argc, char **argv)
|
||||
if (options & DHCPCD_DEBUG)
|
||||
setlogmask(LOG_UPTO(LOG_DEBUG));
|
||||
else if (options & DHCPCD_QUIET)
|
||||
setlogmask(LOG_UPTO(LOG_WARNING));
|
||||
close(STDERR_FILENO);
|
||||
|
||||
if (!(options & DHCPCD_TEST)) {
|
||||
/* If we have any other args, we should run as a single dhcpcd
|
||||
|
Loading…
Reference in New Issue
Block a user