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