Skip to content

Commit

Permalink
ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
backslashxx authored and selfmusing committed Feb 4, 2025
1 parent 40c1390 commit f499793
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions userspace/ksud/src/module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ fn exec_install_script(module_file: &str) -> Result<()> {
.env("KSU_KERNEL_VER_CODE", ksucalls::get_version().to_string())
.env("KSU_VER", defs::VERSION_NAME)
.env("KSU_VER_CODE", defs::VERSION_CODE)
.env("KSU_MAGIC_MOUNT", "true")
.env("OUTFD", "1")
.env("ZIPFILE", realpath)
.status()?;
Expand Down Expand Up @@ -172,6 +173,7 @@ fn exec_script<T: AsRef<Path>>(path: T, wait: bool) -> Result<()> {
.env("KSU_KERNEL_VER_CODE", ksucalls::get_version().to_string())
.env("KSU_VER_CODE", defs::VERSION_CODE)
.env("KSU_VER", defs::VERSION_NAME)
.env("KSU_MAGIC_MOUNT", "true")
.env(
"PATH",
format!(
Expand Down

0 comments on commit f499793

Please sign in to comment.