mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-03 06:21:54 +00:00
Improve magiskhide stability
This commit is contained in:
@@ -151,8 +151,7 @@ static void proc_name_filter(int pid) {
|
||||
return;
|
||||
fdgets(buf, sizeof(buf), fd);
|
||||
}
|
||||
if (strstr(buf, ps_filter_pattern)) {
|
||||
// printf("%d: %s\n", pid, buf);
|
||||
if (strcmp(buf, ps_filter_pattern) == 0) {
|
||||
ps_filter_cb(pid);
|
||||
}
|
||||
close(fd);
|
||||
|
||||
Reference in New Issue
Block a user