From f723ef153b120fead381a8a6590387de5f3344e0 Mon Sep 17 00:00:00 2001 From: vvb2060 Date: Wed, 21 Aug 2024 02:59:33 +0800 Subject: [PATCH] zygisk_node: skip magisk32 if 64bit zygote only --- native/src/core/module.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/native/src/core/module.cpp b/native/src/core/module.cpp index c9f08b7ed561..b0060080a4ea 100644 --- a/native/src/core/module.cpp +++ b/native/src/core/module.cpp @@ -211,6 +211,8 @@ class zygisk_node : public node_entry { const string src = get_magisk_tmp() + "/magisk"s; (void) is64bit; #endif + if (access(src.data(), F_OK)) + return; create_and_mount("zygisk", src, true); }