ksud: fix mount view of manager when 'umount modules by default' is enabled

This commit is contained in:
weishu
2024-02-22 19:08:37 +08:00
parent 329010a694
commit e6b05b1d3c
2 changed files with 48 additions and 10 deletions

View File

@@ -3,7 +3,6 @@ use anyhow::{anyhow, bail, Ok, Result};
#[cfg(any(target_os = "linux", target_os = "android"))]
use anyhow::Context;
#[cfg(any(target_os = "linux", target_os = "android"))]
#[cfg(any(target_os = "linux", target_os = "android"))]
use rustix::{fd::AsFd, fs::CWD, mount::*};
use crate::defs::KSU_OVERLAY_SOURCE;