summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);