feat: 修复unload_kpm函数的定义,添加缺失的fn关键字
This commit is contained in:
@@ -44,7 +44,7 @@ pub fn load_kpm(path: &Path) -> Result<()> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub unload_kpm(name: &str) -> Result<()> {
|
||||
pub fn unload_kpm(name: &str) -> Result<()> {
|
||||
let status = std::process::Command::new("/data/adb/ksu/bin/kpmmgr")
|
||||
.args(["unload", name])
|
||||
.status()?;
|
||||
|
||||
Reference in New Issue
Block a user