diff options
author | Tianjie Xu <xunchang@google.com> | 2017-01-10 20:00:14 +0100 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-01-10 20:00:15 +0100 |
commit | 37d74f3e201d6ac06d8e8ad3dcef3e848a54183f (patch) | |
tree | 6af1a1b73d21358e28f9bb898e5298e91d87c346 /updater | |
parent | Merge "Address review comment." (diff) | |
parent | Do not inject I/O fault on a retry (diff) | |
download | android_bootable_recovery-37d74f3e201d6ac06d8e8ad3dcef3e848a54183f.tar android_bootable_recovery-37d74f3e201d6ac06d8e8ad3dcef3e848a54183f.tar.gz android_bootable_recovery-37d74f3e201d6ac06d8e8ad3dcef3e848a54183f.tar.bz2 android_bootable_recovery-37d74f3e201d6ac06d8e8ad3dcef3e848a54183f.tar.lz android_bootable_recovery-37d74f3e201d6ac06d8e8ad3dcef3e848a54183f.tar.xz android_bootable_recovery-37d74f3e201d6ac06d8e8ad3dcef3e848a54183f.tar.zst android_bootable_recovery-37d74f3e201d6ac06d8e8ad3dcef3e848a54183f.zip |
Diffstat (limited to 'updater')
-rw-r--r-- | updater/updater.cpp | 2 |
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); |