diff options
Diffstat (limited to 'usr.bin/sed/main.c')
-rw-r--r-- | usr.bin/sed/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/sed/main.c b/usr.bin/sed/main.c index 2620131..c369654 100644 --- a/usr.bin/sed/main.c +++ b/usr.bin/sed/main.c @@ -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') |