summaryrefslogtreecommitdiffstats
path: root/updater/updater.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2017-01-09 22:45:37 +0100
committerTianjie Xu <xunchang@google.com>2017-01-09 23:51:15 +0100
commit4728242070ce806828024f00ab3dac6ba48f3206 (patch)
tree3d5a73e42eb083104c4d83d76d78e56ed871a2c0 /updater/updater.cpp
parentMerge "recovery: Clean up try_update_binary() in install.cpp." (diff)
downloadandroid_bootable_recovery-4728242070ce806828024f00ab3dac6ba48f3206.tar
android_bootable_recovery-4728242070ce806828024f00ab3dac6ba48f3206.tar.gz
android_bootable_recovery-4728242070ce806828024f00ab3dac6ba48f3206.tar.bz2
android_bootable_recovery-4728242070ce806828024f00ab3dac6ba48f3206.tar.lz
android_bootable_recovery-4728242070ce806828024f00ab3dac6ba48f3206.tar.xz
android_bootable_recovery-4728242070ce806828024f00ab3dac6ba48f3206.tar.zst
android_bootable_recovery-4728242070ce806828024f00ab3dac6ba48f3206.zip
Diffstat (limited to '')
-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);