From: Chris Koeritz Date: Sun, 22 Jun 2014 14:50:55 +0000 (-0400) Subject: made psa support multiple search patterns. psfind already did. X-Git-Tag: 2.140.90~778 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=5e22301c1dab2d8fb437c02d1adeb823bfcd972a;hp=35c21a70fec3d89aaad064502b2f98e32ebc6202;p=feisty_meow.git made psa support multiple search patterns. psfind already did. --- 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