diff options
Diffstat (limited to 'fastboot')
-rw-r--r-- | fastboot/fastboot.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp index 6b6e659c6..f9dd6b5e1 100644 --- a/fastboot/fastboot.cpp +++ b/fastboot/fastboot.cpp @@ -1316,6 +1316,9 @@ void FlashAllTool::UpdateSuperPartition() { 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"; |