mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 07:37:39 +00:00
Remove meaningless umount in magiskinit
This is no longer required since we redirect to /data/magiskinit
This commit is contained in:
parent
54ecc001f4
commit
03cee0b8d4
@ -34,7 +34,6 @@ void LegacySARInit::first_stage_prep() {
|
|||||||
|
|
||||||
bool SecondStageInit::prepare() {
|
bool SecondStageInit::prepare() {
|
||||||
umount2("/init", MNT_DETACH);
|
umount2("/init", MNT_DETACH);
|
||||||
umount2("/proc/self/exe", MNT_DETACH);
|
|
||||||
unlink("/data/init");
|
unlink("/data/init");
|
||||||
|
|
||||||
// Make sure init dmesg logs won't get messed up
|
// Make sure init dmesg logs won't get messed up
|
||||||
|
Loading…
x
Reference in New Issue
Block a user