Merge "fs_mgr: Fix return in error case" am: 5821125694 am: b9b2ba3550 am: 54f54b1375
Change-Id: Iaca8671ebe4d9e37375e5031204992fe33fedf20
diff --git a/fs_mgr/fs_mgr.cpp b/fs_mgr/fs_mgr.cpp
index 5d9d4d1..7c46352 100644
--- a/fs_mgr/fs_mgr.cpp
+++ b/fs_mgr/fs_mgr.cpp
@@ -1370,7 +1370,7 @@
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) {