From de21dd03f3740fdb2382a8031f3d62d3b9532e37 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Wed, 7 Mar 2012 16:54:26 -0500 Subject: [PATCH] productivity plummeting below zero. --- scripts/core/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index 6a5253c7..1a0cc10b 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -114,14 +114,14 @@ if [ -z "$skip_all" ]; then fuzil_sentinel=true done else - # cases besides darwin OS (for macs). + # cases besides mac os x's darwin. extra_flags= if [ "$OS" = "Windows_NT" ]; then # special case for windows. extra_flags=-W ps | head -1 for curr in $p; do - ps $extra_flags | grep "^ *$curr" + ps $extra_flags | grep "$curr" done else # normal OSes can handle a nice simple query. -- 2.34.1