From: Ted Lemon Date: Fri, 1 Sep 2000 23:04:37 +0000 (+0000) Subject: - Provide information on how to get support (and how not to) if the server X-Git-Tag: V3-BETA-2-PATCH-1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1b8950a8686dfeae9d3794efcb1704d38d3e828;p=thirdparty%2Fdhcp.git - Provide information on how to get support (and how not to) if the server exits with an error. --- diff --git a/omapip/errwarn.c b/omapip/errwarn.c index 9d391bca0..101301528 100644 --- a/omapip/errwarn.c +++ b/omapip/errwarn.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: errwarn.c,v 1.5 2000/06/29 20:05:13 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: errwarn.c,v 1.6 2000/09/01 23:04:37 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include @@ -81,11 +81,18 @@ void log_fatal (const char * fmt, ... ) write (2, "\n", 1); } - syslog (LOG_CRIT, "exiting."); - if (log_perror) { - fprintf (stderr, "exiting.\n"); - fflush (stderr); - } +#if !defined (NOMINUM) + log_error ("If you did not get this software from ftp.isc.org, please"); + log_error ("get the latest from ftp.isc.org and install that before"); + log_error ("requesting help."); + log_error ("If you did get this software from ftp.isc.org and have not"); + log_error ("yet read the README, please read it before requesting help."); + log_error ("If you intend to request help from the dhcp-server@isc.org"); + log_error ("mailing list, please read the section on the README about"); + log_error ("submitting bug reports and requests for help."); + log_error (""); + log_error ("exiting."); +#endif if (log_cleanup) (*log_cleanup) (); exit (1);