mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-01-19 16:10:44 -08:00
Run through clippy and rustfmt
This commit is contained in:
@@ -221,8 +221,10 @@ 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")
|
||||
|| (info.fs_type == "rootfs" && info.root.starts_with("/magisk"))
|
||||
{
|
||||
targets.push(info.target);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user