diff options
author | Tianjie Xu <xunchang@google.com> | 2018-09-21 07:31:51 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-09-21 07:31:51 +0200 |
commit | d671cc136f20c65254f2928b7bb315e3233fd242 (patch) | |
tree | cca83203aea4eb1a39ce7c93864037376cd6f054 /logging.cpp | |
parent | Merge "Show 'Enter Fastboot' menu item only if device supports fastbootd" (diff) | |
parent | Merge "Move the parse of last_install to recovery-persist" (diff) | |
download | android_bootable_recovery-d671cc136f20c65254f2928b7bb315e3233fd242.tar android_bootable_recovery-d671cc136f20c65254f2928b7bb315e3233fd242.tar.gz android_bootable_recovery-d671cc136f20c65254f2928b7bb315e3233fd242.tar.bz2 android_bootable_recovery-d671cc136f20c65254f2928b7bb315e3233fd242.tar.lz android_bootable_recovery-d671cc136f20c65254f2928b7bb315e3233fd242.tar.xz android_bootable_recovery-d671cc136f20c65254f2928b7bb315e3233fd242.tar.zst android_bootable_recovery-d671cc136f20c65254f2928b7bb315e3233fd242.zip |
Diffstat (limited to '')
-rw-r--r-- | logging.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/logging.cpp b/logging.cpp index d5af72aad..50642a26b 100644 --- a/logging.cpp +++ b/logging.cpp @@ -221,6 +221,7 @@ void copy_logs(bool modified_flash, bool has_cache) { chown(LAST_KMSG_FILE, AID_SYSTEM, AID_SYSTEM); chmod(LAST_LOG_FILE, 0640); chmod(LAST_INSTALL_FILE, 0644); + chown(LAST_INSTALL_FILE, AID_SYSTEM, AID_SYSTEM); sync(); } |