Fix typo causing rootfs device bootloops

Fix #3134
This commit is contained in:
topjohnwu 2020-09-04 04:39:02 -07:00
parent 4dacffd7a1
commit 5c4c391f94

View File

@ -320,8 +320,8 @@ void SARBase::patch_rootdir() {
int magisk_proxy_main(int argc, char *argv[]) {
setup_klog();
auto config = raw_data::read("/sbin/magisk");
auto self = raw_data::read("/.backup/.magisk");
auto self = raw_data::read("/sbin/magisk");
auto config = raw_data::read("/.backup/.magisk");
xmount(nullptr, "/", nullptr, MS_REMOUNT, nullptr);