Commit 4bcfee39 authored by LoveSy's avatar LoveSy Committed by John Wu

Remove unnecessary umount

parent 34bcb1dd
......@@ -35,10 +35,6 @@ void hide_unmount(int pid) {
// Unmount dummy skeletons and MAGISKTMP
targets.push_back(MAGISKTMP);
auto magiskpts = MAGISKTMP + "/" SHELLPTS;
if (access(magiskpts.data(), F_OK) == 0) {
targets.push_back(magiskpts);
}
parse_mnt("/proc/self/mounts", [&](mntent *mentry) {
if (TMPFS_MNT(system) || TMPFS_MNT(vendor) || TMPFS_MNT(product) || TMPFS_MNT(system_ext))
targets.emplace_back(mentry->mnt_dir);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment