Commit 5c4c391f authored by topjohnwu's avatar topjohnwu

Fix typo causing rootfs device bootloops

Fix #3134
parent 4dacffd7
...@@ -320,8 +320,8 @@ void SARBase::patch_rootdir() { ...@@ -320,8 +320,8 @@ void SARBase::patch_rootdir() {
int magisk_proxy_main(int argc, char *argv[]) { int magisk_proxy_main(int argc, char *argv[]) {
setup_klog(); setup_klog();
auto config = raw_data::read("/sbin/magisk"); auto self = raw_data::read("/sbin/magisk");
auto self = raw_data::read("/.backup/.magisk"); auto config = raw_data::read("/.backup/.magisk");
xmount(nullptr, "/", nullptr, MS_REMOUNT, nullptr); xmount(nullptr, "/", nullptr, MS_REMOUNT, nullptr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment