Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 42b28b09 authored by bohu's avatar bohu Committed by Bo Hu
Browse files

fs_mgr: Don't report 'Skip mounting partitions'

when the skip mount partition is not in the fstab

BUG: 133854834
Change-Id: I51de91f34525560c008fbe8648fa2cd6f56dcf8e
parent 659f61e0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -714,6 +714,7 @@ bool SkipMountingPartitions(Fstab* fstab) {
                                 [&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;
    }