commit | c7b3489f3669b887b4dbbb8a93249e3727e9e091 | [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 | 6563f0eab71b62d1e08a3233645ffb1ec01b200f [diff] | |
parent | e2cc620837811a81593e1f0412391458a30b79e9 [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; }