From: Roy Marples Date: Tue, 27 Apr 2010 10:46:44 +0000 (+0000) Subject: Quiet should always be quiet on the console regardless of debug. X-Git-Tag: v5.2.3~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17c3f18cca9cb943eafd3839651a54bf65e0dfbe;p=thirdparty%2Fdhcpcd.git Quiet should always be quiet on the console regardless of debug. --- diff --git a/dhcpcd.c b/dhcpcd.c index 861846c6..f7d4f9e8 100644 --- 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)) {