aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/grep
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2014-08-18 12:29:28 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2014-08-18 12:29:28 +0000
commit2ac5b1c7637bc73b007ef7ad9aede82a9a5aed5f (patch)
treeac429f38c2a5d6925b2dc33cd0b2ca8323b4ee7f /usr.bin/grep
parentca1351acbadc42c44bb846199a6c4744309f87cf (diff)
Notes
Diffstat (limited to 'usr.bin/grep')
-rw-r--r--usr.bin/grep/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/grep/util.c b/usr.bin/grep/util.c
index 3ec12fa75203..f3cf05f04119 100644
--- a/usr.bin/grep/util.c
+++ b/usr.bin/grep/util.c
@@ -336,7 +336,7 @@ procline(struct str *l, int nottext)
}
/* One pass if we are not recording matches */
- if (!wflag && ((color == NULL && !oflag) || qflag || lflag))
+ if (!wflag && ((color == NULL && !oflag) || qflag || lflag || Lflag))
break;
if (st == (size_t)pmatch.rm_so)