Fix avd hack

This commit is contained in:
vvb2060 2023-04-05 18:08:38 +08:00 committed by John Wu
parent 6c3519923d
commit 5c165c9bb0
1 changed files with 1 additions and 1 deletions

View File

@ -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