Merge "fs_mgr: Fix return in error case" am: 5821125694
am: b9b2ba3550
Change-Id: Ib904c4ea62197c507218859024edda94ee6766dc
This commit is contained in:
commit
54f54b1375
1 changed files with 1 additions and 1 deletions
|
@ -1370,7 +1370,7 @@ static bool fs_mgr_unmount_all_data_mounts(const std::string& block_device) {
|
|||
Fstab proc_mounts;
|
||||
if (!ReadFstabFromFile("/proc/mounts", &proc_mounts)) {
|
||||
LERROR << "Can't read /proc/mounts";
|
||||
return -1;
|
||||
return false;
|
||||
}
|
||||
// Now proceed with other bind mounts on top of /data.
|
||||
for (const auto& entry : proc_mounts) {
|
||||
|
|
Loading…
Reference in a new issue