Skip to content

Commit

Permalink
use sbin first
Browse files Browse the repository at this point in the history
  • Loading branch information
Ylarod committed Jan 5, 2024
1 parent 1e329d8 commit f9ef762
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions userspace/ksud/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,11 @@ pub fn has_magisk() -> bool {
}

pub fn get_tmp_path() -> &'static str {
if metadata(defs::TEMP_DIR).is_ok() {
return defs::TEMP_DIR;
}
if metadata(defs::TEMP_DIR_LEGACY).is_ok() {
return defs::TEMP_DIR_LEGACY;
}
if metadata(defs::TEMP_DIR).is_ok() {
return defs::TEMP_DIR;
}
""
}

0 comments on commit f9ef762

Please sign in to comment.