Exit with non-zero status if an input file can not be opened. This was
broken by rev. 1.22.
This commit is contained in:
@@ -344,6 +344,7 @@ mf_fgets(sp, spflag)
|
||||
fname = files->fname;
|
||||
if ((f = fopen(fname, "r")) == NULL) {
|
||||
warn("%s", fname);
|
||||
rval = 1;
|
||||
continue;
|
||||
}
|
||||
if (inplace != NULL && *inplace == '\0')
|
||||
|
||||
Reference in New Issue
Block a user