From 4b20e77c40b098492309cf34c488e0f430d98a7a Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Thu, 17 Jan 2013 18:50:23 +0000 Subject: Fix problem with AOSP wipe_cache command --- recovery.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3