summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep/util.c
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-08-10 08:35:52 -0300
committerRenato Botelho <renato@netgate.com>2016-08-10 08:35:52 -0300
commite533657bf2edd106dace326fed9deb016f181e0a (patch)
tree80c47fa16eaea8d46f2d912bb076006f8e11354e /usr.bin/grep/util.c
parentc481775c0ef4d4d98dd1d53711a00b2e101533d2 (diff)
parent80efa32df7d6cf2f338d372d40e82029bef08cf5 (diff)
downloadFreeBSD-src-e533657bf2edd106dace326fed9deb016f181e0a.zip
FreeBSD-src-e533657bf2edd106dace326fed9deb016f181e0a.tar.gz
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'usr.bin/grep/util.c')
-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 3ec12fa..f3cf05f 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)
OpenPOWER on IntegriCloud