You've already forked KernelSU
mirror of
https://github.com/tiann/KernelSU.git
synced 2025-08-27 23:46:34 +00:00
Update su.rs
This commit is contained in:
@@ -72,7 +72,6 @@ pub fn root_shell() -> Result<()> {
|
|||||||
#[cfg(any(target_os = "linux", target_os = "android"))]
|
#[cfg(any(target_os = "linux", target_os = "android"))]
|
||||||
pub fn root_shell() -> Result<()> {
|
pub fn root_shell() -> Result<()> {
|
||||||
// we are root now, this was set in kernel!
|
// we are root now, this was set in kernel!
|
||||||
|
|
||||||
use anyhow::anyhow;
|
use anyhow::anyhow;
|
||||||
let env_args: Vec<String> = env::args().collect();
|
let env_args: Vec<String> = env::args().collect();
|
||||||
let program = env_args[0].clone();
|
let program = env_args[0].clone();
|
||||||
|
|||||||
Reference in New Issue
Block a user