Merge "fs_mgr: Fix return in error case"
am: 5821125694
Change-Id: I5d164abcdb3185bc9fe416b00e91a1e6ccb1f2eb
This commit is contained in:
commit
b9b2ba3550
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