Remove meaningless umount in magiskinit

This is no longer required since we redirect to /data/magiskinit
This commit is contained in:
LoveSy 2023-03-14 19:11:52 +08:00 committed by John Wu
parent 54ecc001f4
commit 03cee0b8d4

View File

@ -34,7 +34,6 @@ void LegacySARInit::first_stage_prep() {
bool SecondStageInit::prepare() {
umount2("/init", MNT_DETACH);
umount2("/proc/self/exe", MNT_DETACH);
unlink("/data/init");
// Make sure init dmesg logs won't get messed up