summaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-03-09 23:10:25 +0100
committerTianjie Xu <xunchang@google.com>2018-07-03 01:42:09 +0200
commit3c5958f62dbecf5eca10c388e50a6caf4c5682a4 (patch)
tree6744f0b6674bc70a3722f798852c7a5ca6a569ea /updater
parentMerge "updater: Check the number of args in Command::Parse." (diff)
downloadandroid_bootable_recovery-3c5958f62dbecf5eca10c388e50a6caf4c5682a4.tar
android_bootable_recovery-3c5958f62dbecf5eca10c388e50a6caf4c5682a4.tar.gz
android_bootable_recovery-3c5958f62dbecf5eca10c388e50a6caf4c5682a4.tar.bz2
android_bootable_recovery-3c5958f62dbecf5eca10c388e50a6caf4c5682a4.tar.lz
android_bootable_recovery-3c5958f62dbecf5eca10c388e50a6caf4c5682a4.tar.xz
android_bootable_recovery-3c5958f62dbecf5eca10c388e50a6caf4c5682a4.tar.zst
android_bootable_recovery-3c5958f62dbecf5eca10c388e50a6caf4c5682a4.zip
Diffstat (limited to '')
-rw-r--r--updater/blockimg.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/updater/blockimg.cpp b/updater/blockimg.cpp
index cdf24f8b1..937c5e14b 100644
--- a/updater/blockimg.cpp
+++ b/updater/blockimg.cpp
@@ -765,7 +765,9 @@ static int LoadStash(const CommandParameters& params, const std::string& id, boo
}
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;