mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 20:15:29 +00:00
parent
ea0e3a09ef
commit
bdfedea4e0
@ -26,6 +26,7 @@ void LegacySARInit::first_stage_prep() {
|
|||||||
write(dest, init.buf, init.sz);
|
write(dest, init.buf, init.sz);
|
||||||
fclone_attr(src, dest);
|
fclone_attr(src, dest);
|
||||||
close(dest);
|
close(dest);
|
||||||
|
close(src);
|
||||||
}
|
}
|
||||||
xmount("/data/init", "/init", nullptr, MS_BIND, nullptr);
|
xmount("/data/init", "/init", nullptr, MS_BIND, nullptr);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user