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