ksud: don't touch rootfs mount
This commit is contained in:
@@ -278,7 +278,7 @@ impl StockMount {
|
|||||||
let mounts = self
|
let mounts = self
|
||||||
.mountlist
|
.mountlist
|
||||||
.destination_starts_with(std::path::Path::new(&self.mnt))
|
.destination_starts_with(std::path::Path::new(&self.mnt))
|
||||||
.filter(|m| m.fstype != "overlay");
|
.filter(|m| m.fstype != "overlay" && m.fstype != "rootfs");
|
||||||
mounts.collect()
|
mounts.collect()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user