summaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-05-23 23:58:53 +0200
committerTianjie Xu <xunchang@google.com>2016-05-23 23:58:53 +0200
commit3f6eb86390e27707d1204e60e33b6a41e88f0dc8 (patch)
tree5a72c44e196d110faa67a127da1364f89a43b612 /updater
parentMerge "slot_metadata: add verity_corrupted field" am: 3788001b2c (diff)
downloadandroid_bootable_recovery-3f6eb86390e27707d1204e60e33b6a41e88f0dc8.tar
android_bootable_recovery-3f6eb86390e27707d1204e60e33b6a41e88f0dc8.tar.gz
android_bootable_recovery-3f6eb86390e27707d1204e60e33b6a41e88f0dc8.tar.bz2
android_bootable_recovery-3f6eb86390e27707d1204e60e33b6a41e88f0dc8.tar.lz
android_bootable_recovery-3f6eb86390e27707d1204e60e33b6a41e88f0dc8.tar.xz
android_bootable_recovery-3f6eb86390e27707d1204e60e33b6a41e88f0dc8.tar.zst
android_bootable_recovery-3f6eb86390e27707d1204e60e33b6a41e88f0dc8.zip
Diffstat (limited to '')
-rw-r--r--updater/install.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/updater/install.cpp b/updater/install.cpp
index dc2756141..a65b32d81 100644
--- a/updater/install.cpp
+++ b/updater/install.cpp
@@ -1013,7 +1013,6 @@ Value* FileGetPropFn(const char* name, State* state, int argc, Expr* argv[]) {
}
if (ota_fread(buffer, 1, st.st_size, f) != static_cast<size_t>(st.st_size)) {
- ota_fclose(f);
ErrorAbort(state, kFreadFailure, "%s: failed to read %zu bytes from %s",
name, static_cast<size_t>(st.st_size), filename);
ota_fclose(f);