diff options
author | Tao Bao <tbao@google.com> | 2018-06-04 23:16:05 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-06-04 23:16:05 +0200 |
commit | 1d33962b864bf45e3fba01c038e09ab6cc3f3e09 (patch) | |
tree | 759347ba216f69391aa2d22a9d4693e29cfa8c59 /updater/blockimg.cpp | |
parent | Merge "updater_sample: validate state only once" (diff) | |
parent | Merge "tests: Add ResumableUpdaterTest." (diff) | |
download | android_bootable_recovery-1d33962b864bf45e3fba01c038e09ab6cc3f3e09.tar android_bootable_recovery-1d33962b864bf45e3fba01c038e09ab6cc3f3e09.tar.gz android_bootable_recovery-1d33962b864bf45e3fba01c038e09ab6cc3f3e09.tar.bz2 android_bootable_recovery-1d33962b864bf45e3fba01c038e09ab6cc3f3e09.tar.lz android_bootable_recovery-1d33962b864bf45e3fba01c038e09ab6cc3f3e09.tar.xz android_bootable_recovery-1d33962b864bf45e3fba01c038e09ab6cc3f3e09.tar.zst android_bootable_recovery-1d33962b864bf45e3fba01c038e09ab6cc3f3e09.zip |
Diffstat (limited to 'updater/blockimg.cpp')
-rw-r--r-- | updater/blockimg.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/updater/blockimg.cpp b/updater/blockimg.cpp index 4adb974cb..bdb64636b 100644 --- a/updater/blockimg.cpp +++ b/updater/blockimg.cpp @@ -1498,6 +1498,7 @@ static Value* PerformBlockImageUpdate(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv, const CommandMap& command_map, bool dryrun) { CommandParameters params = {}; + stash_map.clear(); params.canwrite = !dryrun; LOG(INFO) << "performing " << (dryrun ? "verification" : "update"); |