diff options
Diffstat (limited to 'recovery.c')
-rw-r--r-- | recovery.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/recovery.c b/recovery.c index a0df165df..40e79d73a 100644 --- a/recovery.c +++ b/recovery.c @@ -479,7 +479,10 @@ sdcard_directory(const char* root_path) { // Mount the sdcard when the package selection menu is enabled so // you can "adb push" packages to the sdcard and immediately // install them. - ensure_root_path_mounted(EXT_ROOT); + if (ensure_root_path_mounted(EXT_ROOT) < 0) { + ui_print("Failed to mount external storage.\n"); + return INSTALL_ERROR; + } const char* MENU_HEADERS[] = { "Choose a package to install:", root_path, |