- 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
@ -233,7 +233,7 @@ procfile(const char *fn)
|
||||
linesqueued++;
|
||||
}
|
||||
c += t;
|
||||
if (mflag && mcount < 0)
|
||||
if (mflag && mcount <= 0)
|
||||
break;
|
||||
}
|
||||
if (Bflag > 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user