]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Don't log to stderr if -q is set.
authorTed Lemon <source@isc.org>
Sat, 30 Oct 1999 14:07:29 +0000 (14:07 +0000)
committerTed Lemon <source@isc.org>
Sat, 30 Oct 1999 14:07:29 +0000 (14:07 +0000)
client/dhclient.c

index 6d9e074c750026bbf9e712401e36cc5a50a58972..ebc0d279d558e6d4277dc7bffa3d21d28b6e2a88 100644 (file)
@@ -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. */