ksud: don't touch rootfs mount

This commit is contained in:
tiann
2023-02-24 20:00:57 +08:00
parent 3fe99712ba
commit ffc06525fb

View File

@@ -278,7 +278,7 @@ impl StockMount {
let mounts = self
.mountlist
.destination_starts_with(std::path::Path::new(&self.mnt))
.filter(|m| m.fstype != "overlay");
.filter(|m| m.fstype != "overlay" && m.fstype != "rootfs");
mounts.collect()
}