|
|
@@ -3683,6 +3683,11 @@ ErrorCodeEnum CUpgradeTaskFSM::DeleteUnzipDir()
|
|
|
DbgWithLink(LOG_LEVEL_INFO,LOG_TYPE_SYSTEM).setAPI("DeleteUnzipDir")("DeleteUnzipDir is fail,get Downloads Path is fail");
|
|
|
return Error_Unexpect;
|
|
|
}
|
|
|
+ //判断解压缩文件夹名是否存在,不存在告警
|
|
|
+ if (m_currentTask.pack_name.IsNullOrEmpty()) {
|
|
|
+ DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM).setAPI("DeleteUnzipDir")("DeleteUnzipDir is fail ,temp unzip dir name is null");
|
|
|
+ return Error_Unexpect;
|
|
|
+ }
|
|
|
CSimpleStringA strUnzipDir = CSimpleStringA::Format("%s" SPLIT_SLASH_STR "%s", strDownloadsPath.GetData(), m_currentTask.pack_name.GetData());
|
|
|
|
|
|
//解压去除了.zip后缀
|