mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-23 15:38:07 -08:00
Offset pid_set by 1
PID starts at 1, not 0
This commit is contained in:
@@ -289,5 +289,4 @@ void test_proc_monitor() {
|
||||
if (procfp == nullptr && (procfp = opendir("/proc")) == nullptr)
|
||||
exit(1);
|
||||
proc_monitor();
|
||||
exit(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user