From f561a1da4fe6855a55a9b62968482be661b44716 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sun, 1 Dec 2024 20:29:41 +0800 Subject: [PATCH] Update mw.tpl --- scripts/init.d/mw.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/init.d/mw.tpl b/scripts/init.d/mw.tpl index 1919765b3..8461a0df0 100755 --- a/scripts/init.d/mw.tpl +++ b/scripts/init.d/mw.tpl @@ -106,7 +106,7 @@ mw_stop_task() { if [ -f ${PANEL_DIR}/logs/panel_task.lock ];then echo -e "\033[32mthe task is running and cannot be stopped\033[0m" - exit 0 + return 0 fi echo -e "stopping mw-tasks... \c";