From: Ted Lemon Date: Sat, 30 Oct 1999 14:07:29 +0000 (+0000) Subject: Don't log to stderr if -q is set. X-Git-Tag: BCTEL_SPECIAL_19991124~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78a33b82600582d555c7bc98a8e6bdf63dd0edef;p=thirdparty%2Fdhcp.git Don't log to stderr if -q is set. --- diff --git a/client/dhclient.c b/client/dhclient.c index 6d9e074c7..ebc0d279d 100644 --- a/client/dhclient.c +++ b/client/dhclient.c @@ -22,7 +22,7 @@ #ifndef lint static char ocopyright[] = -"$Id: dhclient.c,v 1.87 1999/10/24 19:44:15 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; +"$Id: dhclient.c,v 1.88 1999/10/30 14:07:29 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -151,7 +151,8 @@ int main (argc, argv, envp) log_info (arr); log_info (contrib); log_info (url); - } + } else + log_perror = 0; /* If we're given a relay agent address to insert, for testing purposes, figure out what it is. */