diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tail/forward.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tail/forward.c b/usr.bin/tail/forward.c index f63b410..023f941 100644 --- a/usr.bin/tail/forward.c +++ b/usr.bin/tail/forward.c @@ -290,7 +290,7 @@ rlines(fp, off, sbp) if ((start = mmap(NULL, (size_t)size, PROT_READ, MAP_SHARED, fileno(fp), (off_t)0)) == MAP_FAILED) { ierr(); - return; + exit(1); } /* Last char is special, ignore whether newline or not. */ |