Merge "fs_mgr: Fix return in error case"

am: 5821125694

Change-Id: I5d164abcdb3185bc9fe416b00e91a1e6ccb1f2eb
This commit is contained in:
Greg Kaiser 2019-12-20 23:03:24 -08:00 committed by android-build-merger
commit b9b2ba3550

View file

@ -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) {