pgrep: Don't segfault with no match
If pgrep is run with a non-program name match and there are
no matches, it segfaults.
The testsuite thinks zero bytes sent, and zero bytes sent
because the program crashed is the same :/
References:
commit 1aacf4af7f
https://bugs.debian.org/894917
Signed-off-by: Craig Small <csmall@enc.com.au>
This commit is contained in: