diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2016-10-15 00:39:19 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-10-15 00:39:19 +0200 |
commit | 08d0ae9254bee77b81d8d66512cf4b73f8ecaa8b (patch) | |
tree | ce8d6b05ae34ac8b4102e7907b5d01f7b762fe30 | |
parent | Merge "edify: Some clean-ups to libedify." (diff) | |
parent | Fix the prefix matching for uncrypt status. (diff) | |
download | android_bootable_recovery-08d0ae9254bee77b81d8d66512cf4b73f8ecaa8b.tar android_bootable_recovery-08d0ae9254bee77b81d8d66512cf4b73f8ecaa8b.tar.gz android_bootable_recovery-08d0ae9254bee77b81d8d66512cf4b73f8ecaa8b.tar.bz2 android_bootable_recovery-08d0ae9254bee77b81d8d66512cf4b73f8ecaa8b.tar.lz android_bootable_recovery-08d0ae9254bee77b81d8d66512cf4b73f8ecaa8b.tar.xz android_bootable_recovery-08d0ae9254bee77b81d8d66512cf4b73f8ecaa8b.tar.zst android_bootable_recovery-08d0ae9254bee77b81d8d66512cf4b73f8ecaa8b.zip |
-rw-r--r-- | install.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install.cpp b/install.cpp index 427bea1a7..72c922d5c 100644 --- a/install.cpp +++ b/install.cpp @@ -377,8 +377,8 @@ install_package(const char* path, bool* wipe_cache, const char* install_file, std::string uncrypt_status; if (!android::base::ReadFileToString(UNCRYPT_STATUS, &uncrypt_status)) { PLOG(WARNING) << "failed to read uncrypt status"; - } else if (!android::base::StartsWith(uncrypt_status, "uncrypt_:")) { - PLOG(WARNING) << "corrupted uncrypt_status: " << uncrypt_status; + } else if (!android::base::StartsWith(uncrypt_status, "uncrypt_")) { + LOG(WARNING) << "corrupted uncrypt_status: " << uncrypt_status; } else { log_buffer.push_back(android::base::Trim(uncrypt_status)); } |