commit | f17902b3923a9fca69abec78e4c7d02e5ef4f177 | [log] [tgz] |
---|---|---|
author | Bo Hu <bohu@google.com> | Fri Jun 07 13:07:54 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Jun 07 13:07:54 2019 +0000 |
tree | 9bfa9b31ae69052118e1432df80c83e5e207109d | |
parent | bb1b83e325f2971f3910b88b4e6032602691699a [diff] | |
parent | 42b28b09b0c35e2836678e3defcbfea520cd2926 [diff] |
Merge "fs_mgr: Don't report 'Skip mounting partitions'"
diff --git a/fs_mgr/fs_mgr_fstab.cpp b/fs_mgr/fs_mgr_fstab.cpp index 0cbdcce..b6c65da 100644 --- a/fs_mgr/fs_mgr_fstab.cpp +++ b/fs_mgr/fs_mgr_fstab.cpp
@@ -714,6 +714,7 @@ [&skip_mount_point](const auto& entry) { return entry.mount_point == skip_mount_point; }); + if (it == fstab->end()) continue; fstab->erase(it, fstab->end()); LOG(INFO) << "Skip mounting partition: " << skip_mount_point; }