Merge "No longer print hash for stashed blocks during verification of retry"
am: 0a84d7260b
Change-Id: I567bb581faa27a6ba1a4834a8cbe82f8c4052a31
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;