pgrep: fix pgrep -flx "sleep 11" - saw "sleep 11" processes as "sleep 11 "
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 26 Jun 2017 12:41:53 +0000 (14:41 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 26 Jun 2017 12:41:53 +0000 (14:41 +0200)
commit4add757929a33203e6b5f829eb518654a73ad4e4
treefcb331398ef5975074657358e675dfdc2ddadff3
parent1c013fae2845a6062fb4ad9e7720b5e5d1117cac
pgrep: fix pgrep -flx "sleep 11" - saw "sleep 11" processes as "sleep 11 "

function                                             old     new   delta
pgrep_main                                           584     597     +13

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
procps/pgrep.c