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 c10cd2af3e
commit 8e0071ace7
2 changed files with 48 additions and 10 deletions
-1
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;