diff options
author | hm <hm@FreeBSD.org> | 2000-10-10 13:28:49 +0000 |
---|---|---|
committer | hm <hm@FreeBSD.org> | 2000-10-10 13:28:49 +0000 |
commit | a66cec125ed48c5bf9504d4884cbfd4737eeec04 (patch) | |
tree | 7b13c7ab051148c2aa87907c8b485fdf265fb88d /usr.sbin | |
parent | abe86defcdc3a694c986305bf178f41a7b3fcf31 (diff) | |
download | FreeBSD-src-a66cec125ed48c5bf9504d4884cbfd4737eeec04.zip FreeBSD-src-a66cec125ed48c5bf9504d4884cbfd4737eeec04.tar.gz |
Do not exit when no holiday file is found. Issue warning and continue.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/i4b/isdnd/holiday.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/i4b/isdnd/holiday.c b/usr.sbin/i4b/isdnd/holiday.c index 7bcc0b0..7e08404 100644 --- a/usr.sbin/i4b/isdnd/holiday.c +++ b/usr.sbin/i4b/isdnd/holiday.c @@ -31,7 +31,7 @@ * * $FreeBSD$ * - * last edit-date: [Mon Oct 9 11:32:28 2000] + * last edit-date: [Tue Oct 10 15:24:49 2000] * * Format: * @@ -79,8 +79,8 @@ init_holidays(char *filename) if((fp = fopen(filename, "r")) == NULL) { - log(LL_ERR, "init_holiday: error opening holidayfile %s: %s!", filename, strerror(errno)); - exit(1); + log(LL_WRN, "init_holiday: error opening holidayfile %s: %s!", filename, strerror(errno)); + return; } while((fgets(buffer, MAXBUFSZ, fp)) != NULL) |