mirror of https://github.com/topjohnwu/Magisk
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());
|
||||
chdir("/data");
|
||||
chdir(tmp_dir.data());
|
||||
|
||||
if (tmp_dir == "/sbin") {
|
||||
// Recreate original sbin structure
|
||||
|
|
Loading…
Reference in New Issue