Revert "Use rootfs for magisktmp if possible"

This commit is contained in:
南宫雪珊
2025-12-01 11:45:34 -08:00
committed by GitHub
parent 363566d0d5
commit 9a776c22d9
5 changed files with 33 additions and 120 deletions
+1 -4
View File
@@ -221,10 +221,7 @@ 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")
|| (info.fs_type == "rootfs" && info.root.starts_with("/magisk"))
{
if info.source == "magisk" || info.root.starts_with("/adb/modules") {
targets.push(info.target);
}
}