commit | deb4ebb2876b0352ddf042f680339696b89ec125 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Jun 11 02:31:41 2015 +0000 |
committer | Android Git Automerger <android-git-automerger@android.com> | Thu Jun 11 02:31:41 2015 +0000 |
tree | a411dbc27342a41b214becad56bf645018daabf0 | |
parent | 7ccec497f293e1e2629ecb9c906de69305976ff7 [diff] | |
parent | d2a592888b1c8103b7d5c4807230102b78aa3d23 [diff] |
am d2a59288: am 22ccc87a: Merge "Unmount sdcard if no package file is selected." * commit 'd2a592888b1c8103b7d5c4807230102b78aa3d23': Unmount sdcard if no package file is selected.
diff --git a/recovery.cpp b/recovery.cpp index 6cda10c..83ca581 100644 --- a/recovery.cpp +++ b/recovery.cpp
@@ -767,6 +767,7 @@ 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; }