filter: hard error when filter file doesn't exist
This commit is contained in:
parent
cc47fbf1f7
commit
9d815f69a4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user