diff --git a/scripts/init.d/mw.tpl b/scripts/init.d/mw.tpl index 0ebeb0e43..1e68c1aa1 100755 --- a/scripts/init.d/mw.tpl +++ b/scripts/init.d/mw.tpl @@ -22,6 +22,9 @@ PATH=$PATH:$mw_path/bin if [ -f $mw_path/bin/activate ];then source $mw_path/bin/activate + if [ "$?" != "0" ];then + echo "load local python env fail!" + fi fi mw_start_panel()