kernel: set fasle to /sbin for susfs_try_umount_all

This commit is contained in:
Rifat Azad
2025-07-16 21:20:44 +06:00
parent e4a6ade958
commit b04f45c278

View File

@@ -1050,8 +1050,9 @@ void susfs_try_umount_all(uid_t uid) {
ksu_try_umount("/data/adb/modules", false, MNT_DETACH, uid);
/* For both Legacy KSU and Magic Mount KSU */
ksu_try_umount("/debug_ramdisk", true, MNT_DETACH, uid);
// try umount ksu temp path
ksu_try_umount("/sbin", true, MNT_DETACH, uid);
ksu_try_umount("/sbin", false, MNT_DETACH, uid);
// try umount hosts file
ksu_try_umount("/system/etc/hosts", false, MNT_DETACH, uid);