- Fix counting of match limit (-m)
Reported by: Nali Toja <nalitoja@gmail.com> Approved by: delphij (mentor)
This commit is contained in:
parent
afbbd357de
commit
bbf9339dbb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226273
@ -233,7 +233,7 @@ procfile(const char *fn)
|
||||
linesqueued++;
|
||||
}
|
||||
c += t;
|
||||
if (mflag && mcount < 0)
|
||||
if (mflag && mcount <= 0)
|
||||
break;
|
||||
}
|
||||
if (Bflag > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user