diff options
author | Bill Fumerola <billf@FreeBSD.org> | 1999-07-04 17:26:16 +0000 |
---|---|---|
committer | Bill Fumerola <billf@FreeBSD.org> | 1999-07-04 17:26:16 +0000 |
commit | 9ef5c48befdfa36ad5ef5e0ae898e7ca9397abcc (patch) | |
tree | b5a6ada1388aeb7553694b736fde6dc7d114dbff /usr.bin/tail/tail.c | |
parent | adbaeacdd6ef7704c5427e2ed81c4364d91c6e07 (diff) | |
download | src-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.c | 3 |
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++;) { |