summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-01-17 19:50:23 +0100
committerDees_Troy <dees_troy@teamw.in>2013-01-17 19:50:23 +0100
commit4b20e77c40b098492309cf34c488e0f430d98a7a (patch)
tree8ebcea6b0f4d7f96b65bd23084db05e7b9d398ef
parentORS engine fixes (diff)
downloadandroid_bootable_recovery-4b20e77c40b098492309cf34c488e0f430d98a7a.tar
android_bootable_recovery-4b20e77c40b098492309cf34c488e0f430d98a7a.tar.gz
android_bootable_recovery-4b20e77c40b098492309cf34c488e0f430d98a7a.tar.bz2
android_bootable_recovery-4b20e77c40b098492309cf34c488e0f430d98a7a.tar.lz
android_bootable_recovery-4b20e77c40b098492309cf34c488e0f430d98a7a.tar.xz
android_bootable_recovery-4b20e77c40b098492309cf34c488e0f430d98a7a.tar.zst
android_bootable_recovery-4b20e77c40b098492309cf34c488e0f430d98a7a.zip
-rw-r--r--recovery.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/recovery.cpp b/recovery.cpp
index e1b8daaeb..581e67e46 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -316,6 +316,7 @@ finish_recovery(const char *send_intent) {
static int
erase_volume(const char *volume) {
+ return !PartitionManager.Wipe_By_Path(volume);
ui->SetBackground(RecoveryUI::INSTALLING);
ui->SetProgressType(RecoveryUI::INDETERMINATE);
ui->Print("Formatting %s...\n", volume);