You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
fix: not umounting properly module.prop
This commit fixes the issue where module.prop wouldn't be umounted properly.
This commit is contained in:
@@ -346,8 +346,6 @@ struct SocketHandler : public EventHandler {
|
|||||||
PLOGE("failed to mount prop");
|
PLOGE("failed to mount prop");
|
||||||
}
|
}
|
||||||
|
|
||||||
umount2(prop_path, MNT_DETACH);
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -387,7 +385,7 @@ CREATE_ZYGOTE_START_COUNTER(32)
|
|||||||
static bool ensure_daemon_created(bool is_64bit) {
|
static bool ensure_daemon_created(bool is_64bit) {
|
||||||
Status *status = is_64bit ? &status64 : &status32;
|
Status *status = is_64bit ? &status64 : &status32;
|
||||||
if (is_64bit) {
|
if (is_64bit) {
|
||||||
LOGD("new zygote started, unmounting prop ...");
|
LOGD("new zygote started.");
|
||||||
|
|
||||||
umount2("/data/adb/modules/zygisksu/module.prop", MNT_DETACH);
|
umount2("/data/adb/modules/zygisksu/module.prop", MNT_DETACH);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user