~1.9.4r2 pkg

~修复小闪存模式启动失败的bug
This commit is contained in:
juewuy
2026-01-27 20:14:50 +08:00
parent 48705a0dd9
commit 6170a0461d
6 changed files with 10 additions and 5 deletions

View File

@@ -55,5 +55,4 @@ if [ -n "$test" -o -n "$(pidof CrashCore)" ]; then
exit 0
else
. "$CRASHDIR"/starts/start_error.sh
"$CRASHDIR"/start.sh stop
fi

View File

@@ -11,3 +11,4 @@ touch "$CRASHDIR"/.start_error #标记启动失败,防止自启
error=$(cat "$TMPDIR"/core_test.log | grep -iEo 'error.*=.*|.*ERROR.*|.*FATAL.*')
logger "服务启动失败!请查看报错信息!详细信息请查看$TMPDIR/core_test.log" 33
logger "$error" 31
"$CRASHDIR"/start.sh stop