summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-04-29 20:23:16 +0200
committerTao Bao <tbao@google.com>2019-04-29 21:12:25 +0200
commit782dcc1996f6b39ef9e085d7153c2f109ff2609a (patch)
tree25c89a6308fc456aacbbf883517247ae2af517c2 /recovery.cpp
parentMerge "Support wipe command in rescue mode" (diff)
downloadandroid_bootable_recovery-782dcc1996f6b39ef9e085d7153c2f109ff2609a.tar
android_bootable_recovery-782dcc1996f6b39ef9e085d7153c2f109ff2609a.tar.gz
android_bootable_recovery-782dcc1996f6b39ef9e085d7153c2f109ff2609a.tar.bz2
android_bootable_recovery-782dcc1996f6b39ef9e085d7153c2f109ff2609a.tar.lz
android_bootable_recovery-782dcc1996f6b39ef9e085d7153c2f109ff2609a.tar.xz
android_bootable_recovery-782dcc1996f6b39ef9e085d7153c2f109ff2609a.tar.zst
android_bootable_recovery-782dcc1996f6b39ef9e085d7153c2f109ff2609a.zip
Diffstat (limited to '')
-rw-r--r--recovery.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 5fc673ec2..42dad4129 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -895,8 +895,8 @@ Device::BuiltinAction start_recovery(Device* device, const std::vector<std::stri
// Print retry count on screen.
ui->Print("Retry attempt %d\n", retry_count);
- // Reboot and retry the update
- if (!reboot("reboot,recovery")) {
+ // Reboot back into recovery to retry the update.
+ if (!Reboot("recovery")) {
ui->Print("Reboot failed\n");
} else {
while (true) {