Merge "No longer print hash for stashed blocks during verification of retry" am: 0a84d7260b am: 65419746cb
am: db33eeeacc
Change-Id: I7e12332a2546a9b2cdfc17a853b0805f63982379
diff --git a/updater/blockimg.cpp b/updater/blockimg.cpp
index cdf24f8..937c5e1 100644
--- a/updater/blockimg.cpp
+++ b/updater/blockimg.cpp
@@ -765,7 +765,9 @@
}
if (VerifyBlocks(id, *buffer, src.blocks(), true) != 0) {
LOG(ERROR) << "failed to verify loaded source blocks in stash map.";
- PrintHashForCorruptedStashedBlocks(id, *buffer, src);
+ if (!is_retry) {
+ PrintHashForCorruptedStashedBlocks(id, *buffer, src);
+ }
return -1;
}
return 0;