From 8658913321a1cb71e6217bcc4102998875a935c8 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 4 Jul 2022 23:31:32 +0800 Subject: [PATCH] Update mw.tpl --- scripts/init.d/mw.tpl | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/init.d/mw.tpl b/scripts/init.d/mw.tpl index b5273d7be..d9979601c 100755 --- a/scripts/init.d/mw.tpl +++ b/scripts/init.d/mw.tpl @@ -98,7 +98,6 @@ mw_stop_task() echo -e "Stopping mw-tasks... \c"; pids=$(ps aux | grep 'task.py'|grep -v grep|awk '{print $2}') arr=($pids) - for p in ${arr[@]} do kill -9 $p