mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 23:14:03 -05:00
Use rootfs for magisktmp if possible
This commit is contained in:
@@ -221,7 +221,8 @@ pub fn revert_unmount(pid: i32) {
|
||||
|
||||
// Unmount Magisk tmpfs and mounts from module files
|
||||
for info in parse_mount_info("self") {
|
||||
if info.source == "magisk" || info.root.starts_with("/adb/modules") {
|
||||
if info.source == "magisk" || info.root.starts_with("/adb/modules") ||
|
||||
(info.fs_type == "rootfs" && info.root.starts_with("/magisk")) {
|
||||
targets.push(info.target);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user