mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
- Do not look for more matching lines if -L is specified
Submitted by: eadler (based on) MFC after: 2 weeks
This commit is contained in:
parent
ca1351acba
commit
2ac5b1c763
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue