mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 12:05:30 +00:00
Always write 0 to fd
This commit is contained in:
parent
a8e4e077ec
commit
407dfc7547
@ -457,8 +457,8 @@ void HookContext::nativeSpecializeAppProcess_pre() {
|
|||||||
state[DO_UNMOUNT] = true;
|
state[DO_UNMOUNT] = true;
|
||||||
} else if (fd >= 0) {
|
} else if (fd >= 0) {
|
||||||
run_modules_pre(module_fds);
|
run_modules_pre(module_fds);
|
||||||
write_int(fd, 0);
|
|
||||||
}
|
}
|
||||||
|
write_int(fd, 0);
|
||||||
close(fd);
|
close(fd);
|
||||||
|
|
||||||
close_fds();
|
close_fds();
|
||||||
|
Loading…
Reference in New Issue
Block a user