From 3c24d9f9a96c66dece2152660330439e38e9464c Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 6 Oct 2022 09:32:46 +0800 Subject: [PATCH] Update mw.tpl --- scripts/init.d/mw.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/init.d/mw.tpl b/scripts/init.d/mw.tpl index 6d3092d1e..a6bd7cb0a 100755 --- a/scripts/init.d/mw.tpl +++ b/scripts/init.d/mw.tpl @@ -114,6 +114,7 @@ mw_stop_panel() kill -9 $p &>/dev/null done + pidfile=${mw_path}/logs/mw.pid if [ -f $pidfile ];then rm -f $pidfile fi