summaryrefslogtreecommitdiffstats
path: root/updater/install.cpp
diff options
context:
space:
mode:
authorAlistair Strachan <alistair.strachan@imgtec.com>2016-05-06 01:04:32 +0200
committerAlistair Strachan <alistair.strachan@imgtec.com>2016-05-06 01:04:58 +0200
commit733285fea265af4fc91cf37916fada1a66cec470 (patch)
treeb8ffdee0dae6d2e577436533e59bf00eed021d63 /updater/install.cpp
parentMerge "recovery: Always log the update attempt." (diff)
downloadandroid_bootable_recovery-733285fea265af4fc91cf37916fada1a66cec470.tar
android_bootable_recovery-733285fea265af4fc91cf37916fada1a66cec470.tar.gz
android_bootable_recovery-733285fea265af4fc91cf37916fada1a66cec470.tar.bz2
android_bootable_recovery-733285fea265af4fc91cf37916fada1a66cec470.tar.lz
android_bootable_recovery-733285fea265af4fc91cf37916fada1a66cec470.tar.xz
android_bootable_recovery-733285fea265af4fc91cf37916fada1a66cec470.tar.zst
android_bootable_recovery-733285fea265af4fc91cf37916fada1a66cec470.zip
Diffstat (limited to 'updater/install.cpp')
-rw-r--r--updater/install.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/install.cpp b/updater/install.cpp
index 4f5268401..bab2fe166 100644
--- a/updater/install.cpp
+++ b/updater/install.cpp
@@ -559,7 +559,7 @@ Value* PackageExtractFileFn(const char* name, State* state,
}
{
- int fd = TEMP_FAILURE_RETRY(ota_open(dest_path, O_WRONLY | O_CREAT | O_TRUNC | O_SYNC,
+ int fd = TEMP_FAILURE_RETRY(ota_open(dest_path, O_WRONLY | O_CREAT | O_TRUNC,
S_IRUSR | S_IWUSR));
if (fd == -1) {
printf("%s: can't open %s for write: %s\n", name, dest_path, strerror(errno));