Merge "fastboot: Check that reboot to userspace succeeded."
am: dd85c74655
Change-Id: I3f18163b63e0197543d631c717d49f293aa1b905
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp
index 5101410..81350fd 100644
--- a/fastboot/fastboot.cpp
+++ b/fastboot/fastboot.cpp
@@ -1312,6 +1312,9 @@
if (!is_userspace_fastboot()) {
reboot_to_userspace_fastboot();
}
+ if (!is_userspace_fastboot()) {
+ die("Failed to boot into userspace; one or more components might be unbootable.");
+ }
fb->Download("super", fd, get_file_size(fd));
std::string command = "update-super:super";