|
@@ -488,7 +488,10 @@ void CHealthManagerEntity::OnCheckTimeTimeout()
|
|
|
if (_access((const char*)csStartTime, 0) == 0) {
|
|
|
int ret = DeleteFileA(csStartTime);//oiltmp@20240423 why don't use remove ,what's the different?
|
|
|
if (ret != 0)//删除成功,清理前次记录的guardian版本记录
|
|
|
+ {
|
|
|
+ DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM).setAPI(__FUNCTION__)("delete start time file [%s] suc.", csStartTime.GetData());
|
|
|
spConfigRun->WriteConfigValue("Run", "VersionEx", "");
|
|
|
+ }
|
|
|
else
|
|
|
DbgWithLink(LOG_LEVEL_ERROR, LOG_TYPE_SYSTEM).setAPI(__FUNCTION__)("delete time file [%s] error.[%d]", csStartTime.GetData(), GetLastError());
|
|
|
}
|