X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Ffunctions.sh;h=ab883d9d6e6bce61ced2ffb806a2d352595262e3;hb=6ed6b13a3a3806c0f4dcb38ac145f6a295faa2fb;hp=8a2f35865a36c59cad49bda5ef6c63af8c465cf9;hpb=3563fcc6ec0a02b299797e20e868ca11e9c60c49;p=feisty_meow.git 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