]> granicus.if.org Git - procps-ng/commitdiff
pgrep: warning about 15+ chars name only if zero matches
authorJan Rybar <jrybar@redhat.com>
Thu, 26 Jan 2017 05:35:33 +0000 (16:35 +1100)
committerCraig Small <csmall@enc.com.au>
Thu, 26 Jan 2017 05:57:20 +0000 (16:57 +1100)
pgrep: warning about 15+ chars name only if zero matches found This avoids situations where longer regex which matches short-named proc is used. Test for pgrep updated.

References:
 'pgrep_long_pattern_warn' of https://gitlab.com/jrybar/procps:


Trivial merge