summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-10-14 01:04:07 +0200
committerTao Bao <tbao@google.com>2016-10-14 01:07:15 +0200
commitee9b95544a7af548e98f2b7a080e2eb7abaaf981 (patch)
treece8d6b05ae34ac8b4102e7907b5d01f7b762fe30
parentMerge "edify: Some clean-ups to libedify." (diff)
downloadandroid_bootable_recovery-ee9b95544a7af548e98f2b7a080e2eb7abaaf981.tar
android_bootable_recovery-ee9b95544a7af548e98f2b7a080e2eb7abaaf981.tar.gz
android_bootable_recovery-ee9b95544a7af548e98f2b7a080e2eb7abaaf981.tar.bz2
android_bootable_recovery-ee9b95544a7af548e98f2b7a080e2eb7abaaf981.tar.lz
android_bootable_recovery-ee9b95544a7af548e98f2b7a080e2eb7abaaf981.tar.xz
android_bootable_recovery-ee9b95544a7af548e98f2b7a080e2eb7abaaf981.tar.zst
android_bootable_recovery-ee9b95544a7af548e98f2b7a080e2eb7abaaf981.zip
-rw-r--r--install.cpp4
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));
}