summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-03-11 19:03:57 +0100
committerAndroid Git Automerger <android-git-automerger@android.com>2015-03-11 19:03:57 +0100
commitd5369e5d91c9c7c55cbd8f1c306098182c209baf (patch)
treeea3a136a6f766d25f59f3f7ec02efdd113bb0ce2 /recovery.cpp
parentam 8290aa50: Merge "Install the recovery binary directly to the recovery image." (diff)
parentupdater: Check the return value from ApplyImagePatch / ApplyBSDiffPatch (diff)
downloadandroid_bootable_recovery-d5369e5d91c9c7c55cbd8f1c306098182c209baf.tar
android_bootable_recovery-d5369e5d91c9c7c55cbd8f1c306098182c209baf.tar.gz
android_bootable_recovery-d5369e5d91c9c7c55cbd8f1c306098182c209baf.tar.bz2
android_bootable_recovery-d5369e5d91c9c7c55cbd8f1c306098182c209baf.tar.lz
android_bootable_recovery-d5369e5d91c9c7c55cbd8f1c306098182c209baf.tar.xz
android_bootable_recovery-d5369e5d91c9c7c55cbd8f1c306098182c209baf.tar.zst
android_bootable_recovery-d5369e5d91c9c7c55cbd8f1c306098182c209baf.zip
Diffstat (limited to 'recovery.cpp')
-rw-r--r--recovery.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 07606137b..f3cb06747 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -1112,6 +1112,7 @@ main(int argc, char **argv) {
}
if (status != INSTALL_SUCCESS) {
ui->Print("Installation aborted.\n");
+ ui->Print("OTA failed! Please power off the device to keep it in this state and file a bug report!\n");
// If this is an eng or userdebug build, then automatically
// turn the text display on if the script fails so the error