Update cli.sh

This commit is contained in:
Mr Chen 2024-11-24 21:54:28 +08:00
parent cd069b24c6
commit 6329ce3fd6
1 changed files with 1 additions and 1 deletions

2
cli.sh
View File

@ -82,7 +82,7 @@ mw_start_bgtask(){
mw_stop()
{
PLIST=`ps -ef|grep app:app |grep -v grep|awk '{print $2}'`
for i in ${($PLIST[@])}
for i in ${($PLIST)[@]}
do
kill -9 $i > /dev/null 2>&1
done