aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tail/tail.c
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/tail.c
parentadbaeacdd6ef7704c5427e2ed81c4364d91c6e07 (diff)
downloadsrc-9ef5c48befdfa36ad5ef5e0ae898e7ca9397abcc.tar.gz
src-9ef5c48befdfa36ad5ef5e0ae898e7ca9397abcc.zip
Clean up some ambiguous nested if/elses.
Notes
Notes: svn path=/head/; revision=48566
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 454ef65ca176..416d44145e86 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++;) {