summaryrefslogtreecommitdiffstats
path: root/updater/updater.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2017-01-10 20:23:53 +0100
committerandroid-build-merger <android-build-merger@google.com>2017-01-10 20:23:53 +0100
commit5c658258919a421c7376aa925eb37ed9a185eaf2 (patch)
tree435d4eedaac0ff4f56f661504fef600467b01df3 /updater/updater.cpp
parentMerge "Address review comment." am: 77ec0071cf am: 3e003ceeda am: ac431948d3 (diff)
parentMerge "Do not inject I/O fault on a retry" am: 37d74f3e20 am: 854ef3b9d1 (diff)
downloadandroid_bootable_recovery-5c658258919a421c7376aa925eb37ed9a185eaf2.tar
android_bootable_recovery-5c658258919a421c7376aa925eb37ed9a185eaf2.tar.gz
android_bootable_recovery-5c658258919a421c7376aa925eb37ed9a185eaf2.tar.bz2
android_bootable_recovery-5c658258919a421c7376aa925eb37ed9a185eaf2.tar.lz
android_bootable_recovery-5c658258919a421c7376aa925eb37ed9a185eaf2.tar.xz
android_bootable_recovery-5c658258919a421c7376aa925eb37ed9a185eaf2.tar.zst
android_bootable_recovery-5c658258919a421c7376aa925eb37ed9a185eaf2.zip
Diffstat (limited to 'updater/updater.cpp')
-rw-r--r--updater/updater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/updater.cpp b/updater/updater.cpp
index 3e624dae7..473066263 100644
--- a/updater/updater.cpp
+++ b/updater/updater.cpp
@@ -100,7 +100,6 @@ int main(int argc, char** argv) {
CloseArchive(za);
return 3;
}
- ota_io_init(za);
ZipString script_name(SCRIPT_NAME);
ZipEntry script_entry;
@@ -166,6 +165,7 @@ int main(int argc, char** argv) {
printf("unexpected argument: %s", argv[4]);
}
}
+ ota_io_init(za, state.is_retry);
std::string result;
bool status = Evaluate(&state, root, &result);