summaryrefslogtreecommitdiff
path: root/usr.bin/sed
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2002-06-14 02:20:05 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2002-06-14 02:20:05 +0000
commit6689fb2bbcad1741763661e7b21973c359980274 (patch)
treed81e580768ff8c7a96e46e644c7128863a0f9f97 /usr.bin/sed
parent8701af62eedb4c3dbf36cf929de519930ebc1064 (diff)
downloadsrc-test2-6689fb2bbcad1741763661e7b21973c359980274.tar.gz
src-test2-6689fb2bbcad1741763661e7b21973c359980274.zip
Notes
Diffstat (limited to 'usr.bin/sed')
-rw-r--r--usr.bin/sed/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/sed/main.c b/usr.bin/sed/main.c
index 26201315da5c..c3696544a625 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')