summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/installer/util/installer_state.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/installer/util/installer_state.cc b/chrome/installer/util/installer_state.cc
index 8aa1d26..10b055d 100644
--- a/chrome/installer/util/installer_state.cc
+++ b/chrome/installer/util/installer_state.cc
@@ -431,8 +431,11 @@ void InstallerState::RemoveOldVersionDirectories(
scoped_ptr<WorkItem> item(
WorkItem::CreateDeleteTreeWorkItem(next_version, temp_path,
key_files));
- if (!item->Do())
+ if (!item->Do()) {
+ LOG(ERROR) << "Failed to delete old version directory: "
+ << next_version.value();
item->Rollback();
+ }
}
}