Update su.rs

This commit is contained in:
Wang Han
2025-05-17 16:28:11 +08:00
committed by GitHub
parent 36446948ba
commit 121f9a8e90

View File

@@ -72,7 +72,6 @@ pub fn root_shell() -> Result<()> {
#[cfg(any(target_os = "linux", target_os = "android"))]
pub fn root_shell() -> Result<()> {
// we are root now, this was set in kernel!
use anyhow::anyhow;
let env_args: Vec<String> = env::args().collect();
let program = env_args[0].clone();