Fix pgrep usage logic
Merge pull request #1422 from matthewrmshin/pgrep

Fix pgrep usage