summaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2016-09-29 20:51:02 +0200
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-09-29 20:51:02 +0200
commit4c3f6ab8f7be21acf33ff0dfabec9047aac36e3c (patch)
treea2e264ba51c1e6848306371a1123d4bd79fe7a85 /install.cpp
parentDO NOT MERGE Report uncrypt errors in details am: 37d7d67ca2 (diff)
parentReport uncrypt errors in details (diff)
downloadandroid_bootable_recovery-4c3f6ab8f7be21acf33ff0dfabec9047aac36e3c.tar
android_bootable_recovery-4c3f6ab8f7be21acf33ff0dfabec9047aac36e3c.tar.gz
android_bootable_recovery-4c3f6ab8f7be21acf33ff0dfabec9047aac36e3c.tar.bz2
android_bootable_recovery-4c3f6ab8f7be21acf33ff0dfabec9047aac36e3c.tar.lz
android_bootable_recovery-4c3f6ab8f7be21acf33ff0dfabec9047aac36e3c.tar.xz
android_bootable_recovery-4c3f6ab8f7be21acf33ff0dfabec9047aac36e3c.tar.zst
android_bootable_recovery-4c3f6ab8f7be21acf33ff0dfabec9047aac36e3c.zip
Diffstat (limited to 'install.cpp')
-rw-r--r--install.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.cpp b/install.cpp
index 63ee299a2..83ddc4b0c 100644
--- a/install.cpp
+++ b/install.cpp
@@ -536,7 +536,7 @@ 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_:")) {
+ } else if (!android::base::StartsWith(uncrypt_status, "uncrypt_")) {
PLOG(WARNING) << "corrupted uncrypt_status: " << uncrypt_status;
} else {
log_buffer.push_back(android::base::Trim(uncrypt_status));