Skip to content

Commit

Permalink
ksud: Add ksud to manager's su path
Browse files Browse the repository at this point in the history
  • Loading branch information
tiann committed Feb 29, 2024
1 parent e39a80f commit 5aa025c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions userspace/ksud/src/ksu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ pub fn grant_root(global_mnt: bool) -> Result<()> {
std::result::Result::Ok(())
})
};
// add /data/adb/ksu/bin to PATH
#[cfg(any(target_os = "linux", target_os = "android"))]
add_path_to_env(defs::BINARY_DIR)?;
Err(command.exec().into())
}

Expand Down

0 comments on commit 5aa025c

Please sign in to comment.