aboutsummaryrefslogtreecommitdiff
path: root/src/burn/engine/plan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/burn/engine/plan.cpp')
-rw-r--r--src/burn/engine/plan.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/burn/engine/plan.cpp b/src/burn/engine/plan.cpp
index 49dd83f4..c9337df5 100644
--- a/src/burn/engine/plan.cpp
+++ b/src/burn/engine/plan.cpp
@@ -1692,7 +1692,7 @@ extern "C" HRESULT PlanExecuteCacheSyncAndRollback(
1692 HRESULT hr = S_OK; 1692 HRESULT hr = S_OK;
1693 BURN_EXECUTE_ACTION* pAction = NULL; 1693 BURN_EXECUTE_ACTION* pAction = NULL;
1694 1694
1695 if (!pPlan->fBundleAlreadyRegistered) 1695 if (pPlan->fPlanPackageCacheRollback)
1696 { 1696 {
1697 hr = PlanAppendRollbackAction(pPlan, &pAction); 1697 hr = PlanAppendRollbackAction(pPlan, &pAction);
1698 ExitOnFailure(hr, "Failed to append rollback action."); 1698 ExitOnFailure(hr, "Failed to append rollback action.");
@@ -2241,7 +2241,7 @@ static HRESULT AddCachePackageHelper(
2241 pCacheAction->type = BURN_CACHE_ACTION_TYPE_CHECKPOINT; 2241 pCacheAction->type = BURN_CACHE_ACTION_TYPE_CHECKPOINT;
2242 pCacheAction->checkpoint.dwId = dwCheckpoint; 2242 pCacheAction->checkpoint.dwId = dwCheckpoint;
2243 2243
2244 if (!pPlan->fBundleAlreadyRegistered) 2244 if (pPlan->fPlanPackageCacheRollback)
2245 { 2245 {
2246 // Create a package cache rollback action *before* the checkpoint. 2246 // Create a package cache rollback action *before* the checkpoint.
2247 hr = AppendRollbackCacheAction(pPlan, &pCacheAction); 2247 hr = AppendRollbackCacheAction(pPlan, &pCacheAction);