summaryrefslogtreecommitdiffstats
path: root/usr.bin/tail/tail.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tail/tail.c')
-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 454ef65..416d441 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++;) {
OpenPOWER on IntegriCloud