更新isNeedRestore 判断逻辑
This commit is contained in:
parent
ff29dd3106
commit
3b482fc40f
@ -1798,9 +1798,12 @@ void setWorkSta(int flag)
|
||||
int isNeedRestore(void)
|
||||
{
|
||||
int rst = get_cfg("isWorking");
|
||||
if (rst) {
|
||||
if (rst > 0) {
|
||||
LOG_W("restoring TT after crash");
|
||||
}
|
||||
else {
|
||||
rst = 0;
|
||||
}
|
||||
return rst;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user