change shell

This commit is contained in:
zhangxunhui 2021-08-20 11:00:07 +08:00
parent 64b707746c
commit aadcff2d5e
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ echo $App
function killProcess() {
NAME=$1
echo $NAME
PID=$(ps -e | grep $NAME | awk '{print $1}')
PID=$(ps -ef | grep $NAME | awk '{print $2}')
echo "PID: $PID"
kill -9 $PID
}