mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 23:50:27 +00:00
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:
parent
8701af62ee
commit
6689fb2bbc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98201
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue