From 5e22301c1dab2d8fb437c02d1adeb823bfcd972a Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sun, 22 Jun 2014 10:50:55 -0400 Subject: [PATCH] made psa support multiple search patterns. psfind already did. --- 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 8a2f3586..ab883d9d 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -138,13 +138,13 @@ if [ -z "$skip_all" ]; then echo "psa finds processes by pattern, but there was no pattern on the command line." return 1 fi - p=$(psfind "$1") + p=$(psfind "${@}") if [ -z "$p" ]; then # no matches. return 0 fi echo "" - echo "Processes containing \"$1\"..." + echo "Processes matching ${@}..." echo "" if [ -n "$IS_DARWIN" ]; then unset fuzil_sentinel -- 2.34.1