Jelajahi Sumber

#IQRV #comment [ResourceWatcher] 有个变量复制错误,调整下

80374374 1 tahun lalu
induk
melakukan
b24abaa810
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Module/mod_ResourceWatcher/ResourceWatcherFSM.cpp

+ 1 - 1
Module/mod_ResourceWatcher/ResourceWatcherFSM.cpp

@@ -2461,7 +2461,7 @@ void ResourceWatcherFSM::DetectAutoStartFileAndWarn()
 				, userAutoCnt, pubAutoCnt, strUserAutoList.c_str(), strPubAutoList.c_str(), catchLegitCnt, flag4DeleteKeyAutoStartFile));
     }
 
-    if (catchLegitCnt > 0 && flag4DeleteKeyAutoStartFile && (pubAutoPureCnt > 0 || pubAutoPureCnt > 0)) {
+    if (catchLegitCnt > 0 && flag4DeleteKeyAutoStartFile && (pubAutoPureCnt > 0 || userAutoPureCnt > 0)) {
         DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM)("to delete duplicate auto start file.");
         DeleteDuplicateAutoStartFile();
     }