diff options
author | Ted Lemon <source@isc.org> | 2000-09-01 23:04:37 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 2000-09-01 23:04:37 +0000 |
commit | f1b8950a8686dfeae9d3794efcb1704d38d3e828 (patch) | |
tree | 7bc38a014d833d6a5eceaa65173efa3edefb8b08 /omapip/errwarn.c | |
parent | 5cefe5e556a4d29eaa50d87b5157adb365b0cc8f (diff) | |
download | isc-dhcp-f1b8950a8686dfeae9d3794efcb1704d38d3e828.tar.gz |
- Provide information on how to get support (and how not to) if the server
exits with an error.
Diffstat (limited to 'omapip/errwarn.c')
-rw-r--r-- | omapip/errwarn.c | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/omapip/errwarn.c b/omapip/errwarn.c index 9d391bca..10130152 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 <omapip/omapip_p.h> @@ -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); |