added an excluder to psfind, fixed arg processing
[feisty_meow.git] / scripts / processes / pszap.sh
index 31e119f838bd215c738e2f786f5aa2377e25ef05..93b137b9be49cc97963b2b67d9eae5e4256007d0 100644 (file)
@@ -6,7 +6,9 @@ fi
 
 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
 
-PIDLIST=$(psfind $1)
+SCRIPT_NAME="pszap.sh"
+
+PIDLIST=$(psfind -x $SCRIPT_NAME $1)
 #echo "PIDS are $PIDLIST"
 if [ -z "$PIDLIST" ]; then
   echo "Your process name was not found in the system."