Merge "fs_mgr: Fix return in error case" am: 5821125694 am: b9b2ba3550

Change-Id: Ib904c4ea62197c507218859024edda94ee6766dc
This commit is contained in:
Automerger Merge Worker 2019-12-21 07:16:49 +00:00
commit 54f54b1375

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