Skip to content

Commit f22b773

Browse files
committed
aboot: fastboot reboot-{recovery,fastboot} should reboot into recovery
1 parent ca53577 commit f22b773

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/aboot/aboot.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4820,7 +4820,7 @@ void cmd_reboot_fastboot(const char *arg, void *data, unsigned sz)
48204820
return;
48214821
}
48224822
fastboot_okay("");
4823-
reboot_device(REBOOT_MODE_UNKNOWN);
4823+
reboot_device(RECOVERY_MODE);
48244824

48254825
//shouldn't come here.
48264826
dprintf(CRITICAL, "ERROR: Failed to reboot device\n");
@@ -4836,7 +4836,7 @@ void cmd_reboot_recovery(const char *arg, void *data, unsigned sz)
48364836
return;
48374837
}
48384838
fastboot_okay("");
4839-
reboot_device(REBOOT_MODE_UNKNOWN);
4839+
reboot_device(RECOVERY_MODE);
48404840

48414841
//shouldn't come here.
48424842
dprintf(CRITICAL, "ERROR: Failed to reboot device\n");

0 commit comments

Comments
 (0)