From cd069b24c62d7263b2bfc0366d3b8292724b1997 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sun, 24 Nov 2024 21:54:00 +0800 Subject: [PATCH] Update cli.sh --- cli.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.sh b/cli.sh index 77cc72203..c5cdc97db 100755 --- a/cli.sh +++ b/cli.sh @@ -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