diff options
author | Elliott Hughes <enh@google.com> | 2015-06-11 04:31:41 +0200 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-06-11 04:31:41 +0200 |
commit | deb4ebb2876b0352ddf042f680339696b89ec125 (patch) | |
tree | a411dbc27342a41b214becad56bf645018daabf0 | |
parent | am d7c9bf41: Merge "Zero blocks before BLKDISCARD" into mnc-dev (diff) | |
parent | am 22ccc87a: Merge "Unmount sdcard if no package file is selected." (diff) | |
download | android_bootable_recovery-deb4ebb2876b0352ddf042f680339696b89ec125.tar android_bootable_recovery-deb4ebb2876b0352ddf042f680339696b89ec125.tar.gz android_bootable_recovery-deb4ebb2876b0352ddf042f680339696b89ec125.tar.bz2 android_bootable_recovery-deb4ebb2876b0352ddf042f680339696b89ec125.tar.lz android_bootable_recovery-deb4ebb2876b0352ddf042f680339696b89ec125.tar.xz android_bootable_recovery-deb4ebb2876b0352ddf042f680339696b89ec125.tar.zst android_bootable_recovery-deb4ebb2876b0352ddf042f680339696b89ec125.zip |
-rw-r--r-- | recovery.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recovery.cpp b/recovery.cpp index 6cda10c21..83ca5812d 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -767,6 +767,7 @@ static int apply_from_sdcard(Device* device, bool* wipe_cache) { char* path = browse_directory(SDCARD_ROOT, device); if (path == NULL) { ui->Print("\n-- No package file selected.\n"); + ensure_path_unmounted(SDCARD_ROOT); return INSTALL_ERROR; } |