mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 05:18:24 +00:00
Make recovery installed on on system_root devices normal
This commit is contained in:
parent
0f34f0033c
commit
d8405f0d05
@ -374,8 +374,11 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
// Do not go further if system_root device is booting as recovery
|
||||
if (!cmd.skip_initramfs && access("/sbin/recovery", F_OK) == 0)
|
||||
if (!cmd.skip_initramfs && access("/sbin/recovery", F_OK) == 0) {
|
||||
// Remove Magisk traces
|
||||
rm_rf("/.backup");
|
||||
goto exec_init;
|
||||
}
|
||||
|
||||
/* ************
|
||||
* Early Mount
|
||||
|
Loading…
x
Reference in New Issue
Block a user