aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/engine/detect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/detect.cpp b/src/engine/detect.cpp
index 9bb58487..4265cf9b 100644
--- a/src/engine/detect.cpp
+++ b/src/engine/detect.cpp
@@ -202,7 +202,7 @@ extern "C" HRESULT DetectReportRelatedBundles(
202 HRESULT hr = S_OK; 202 HRESULT hr = S_OK;
203 int nCompareResult = 0; 203 int nCompareResult = 0;
204 BOOTSTRAPPER_REQUEST_STATE uninstallRequestState = BOOTSTRAPPER_REQUEST_STATE_NONE; 204 BOOTSTRAPPER_REQUEST_STATE uninstallRequestState = BOOTSTRAPPER_REQUEST_STATE_NONE;
205 *pfEligibleForCleanup = pRegistration->fInstalled; 205 *pfEligibleForCleanup = pRegistration->fInstalled || CacheBundleRunningFromCache();
206 206
207 for (DWORD iRelatedBundle = 0; iRelatedBundle < pRegistration->relatedBundles.cRelatedBundles; ++iRelatedBundle) 207 for (DWORD iRelatedBundle = 0; iRelatedBundle < pRegistration->relatedBundles.cRelatedBundles; ++iRelatedBundle)
208 { 208 {