]> granicus.if.org Git - procps-ng/commit
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)
commit71c66b304ec6faeab9f515f655036c8201519453
treec1624a6b7c1d2afd3e93ab560439e3af557725c9
parentaf53e170b9927599110ff42842a8d52eabe00bef
parent1aacf4af7f199d77fc9386e249eee654f59880db
pgrep: warning about 15+ chars name only if zero matches

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: