]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Quiet should always be quiet on the console regardless of debug.
authorRoy Marples <roy@marples.name>
Tue, 27 Apr 2010 10:46:44 +0000 (10:46 +0000)
committerRoy Marples <roy@marples.name>
Tue, 27 Apr 2010 10:46:44 +0000 (10:46 +0000)
dhcpcd.c

index 861846c65150f4740b59e406cae6d7e34c8ec7d4..f7d4f9e8d8d537b0e58ee22edc6bac9e1b1677d7 100644 (file)
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -1673,7 +1673,7 @@ main(int argc, char **argv)
 
        if (options & DHCPCD_DEBUG)
                setlogmask(LOG_UPTO(LOG_DEBUG));
-       else if (options & DHCPCD_QUIET)
+       if (options & DHCPCD_QUIET)
                close(STDERR_FILENO);
 
        if (!(options & DHCPCD_TEST)) {