aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tail
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>1999-07-04 17:26:16 +0000
committerBill Fumerola <billf@FreeBSD.org>1999-07-04 17:26:16 +0000
commit9ef5c48befdfa36ad5ef5e0ae898e7ca9397abcc (patch)
treeb5a6ada1388aeb7553694b736fde6dc7d114dbff /usr.bin/tail
parentadbaeacdd6ef7704c5427e2ed81c4364d91c6e07 (diff)
Notes
Diffstat (limited to 'usr.bin/tail')
-rw-r--r--usr.bin/tail/tail.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tail/tail.c b/usr.bin/tail/tail.c
index 454ef65ca176e..416d44145e867 100644
--- a/usr.bin/tail/tail.c
+++ b/usr.bin/tail/tail.c
@@ -154,7 +154,7 @@ main(argc, argv)
* If style not specified, the default is the whole file for -r, and
* the last 10 lines if not -r.
*/
- if (style == NOTSET)
+ if (style == NOTSET) {
if (rflag) {
off = 0;
style = REVERSE;
@@ -162,6 +162,7 @@ main(argc, argv)
off = 10;
style = RLINES;
}
+ }
if (*argv)
for (first = 1; fname = *argv++;) {