mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-04-22 10:11:33 +00:00
Fix avd hack
This commit is contained in:
parent
6c3519923d
commit
5c165c9bb0
@ -231,7 +231,7 @@ void MagiskInit::patch_ro_root() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setup_tmp(tmp_dir.data());
|
setup_tmp(tmp_dir.data());
|
||||||
chdir("/data");
|
chdir(tmp_dir.data());
|
||||||
|
|
||||||
if (tmp_dir == "/sbin") {
|
if (tmp_dir == "/sbin") {
|
||||||
// Recreate original sbin structure
|
// Recreate original sbin structure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user