diff options
-rw-r--r-- | src/filter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filter.c b/src/filter.c index d70cb59..b9b5066 100644 --- a/src/filter.c +++ b/src/filter.c @@ -61,7 +61,8 @@ void filter_init (void) fd = fopen (config->filter, "r"); if (!fd) { - return; + perror ("filter file"); + exit (EX_DATAERR); } cflags = REG_NEWLINE | REG_NOSUB; |