Merge branch 'deal_crash'

This commit is contained in:
CSSC-WORK\murmur 2023-09-10 17:21:09 +08:00
commit a1f34658ba

View File

@ -1798,9 +1798,12 @@ void setWorkSta(int flag)
int isNeedRestore(void) int isNeedRestore(void)
{ {
int rst = get_cfg("isWorking"); int rst = get_cfg("isWorking");
if (rst) { if (rst > 0) {
LOG_W("restoring TT after crash"); LOG_W("restoring TT after crash");
} }
else {
rst = 0;
}
return rst; return rst;
} }