]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
dhcpcd should log to syslog even with quiet.
authorRoy Marples <roy@marples.name>
Thu, 19 Nov 2009 21:31:41 +0000 (21:31 +0000)
committerRoy Marples <roy@marples.name>
Thu, 19 Nov 2009 21:31:41 +0000 (21:31 +0000)
dhcpcd.c

index 6988be17af494e3f723c7567246089547db36438..20caf86c26c6e033a1a044c43530fa54bb2d1e64 100644 (file)
--- a/dhcpcd.c
+++ b/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