init: fix Tegra "APP" /system partition mounting

- thanks rootfan in https://github.com/topjohnwu/Magisk/issues/2063#issuecomment-573232567

Closes #2243
This commit is contained in:
osm0sis 2020-01-11 19:52:17 -04:00 committed by John Wu
parent 5b56ca7ffc
commit 793f0b605c

View File

@ -211,7 +211,7 @@ void SARInit::early_mount() {
if (dev < 0) { if (dev < 0) {
// Try NVIDIA naming scheme // Try NVIDIA naming scheme
strcpy(partname, "APP"); strcpy(partname, "APP");
dev = setup_block(); dev = setup_block(false);
if (dev < 0) { if (dev < 0) {
// We don't really know what to do at this point... // We don't really know what to do at this point...
LOGE("Cannot find root partition, abort\n"); LOGE("Cannot find root partition, abort\n");