commit | 5821125694b947ef531a8b1dfebe279270e7ea07 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Sat Dec 21 06:59:02 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Sat Dec 21 06:59:02 2019 +0000 |
tree | cbe5b1a18e6aa5e240743eec28a618becf92e032 | |
parent | a6954573aebf4b61c7b1fba7957c54e74795c6eb [diff] | |
parent | d8fdf60367bb6d57adec13dbba7bd9eee3b67f72 [diff] |
Merge "fs_mgr: Fix return in error case"
diff --git a/fs_mgr/fs_mgr.cpp b/fs_mgr/fs_mgr.cpp index 48ce4cd..15c9dfb 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) {