mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 11:30:47 -05:00
Update to ONDK r29.2
This commit is contained in:
@@ -29,11 +29,9 @@ pub(crate) fn switch_root(path: &Utf8CStr) {
|
||||
if let Some(last_mount) = mounts
|
||||
.range::<String, _>((Unbounded, Excluded(&info.target)))
|
||||
.last()
|
||||
{
|
||||
if info.target.starts_with(&format!("{}/", *last_mount)) {
|
||||
&& info.target.starts_with(&format!("{}/", *last_mount)) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
let mut target = info.target.clone();
|
||||
let target = Utf8CStr::from_string(&mut target);
|
||||
|
||||
Reference in New Issue
Block a user