fix: PROCESS-NAME/PROCESS-PATH rules miss when any process exits during the /proc search on Linux

https://github.com/MetaCubeX/mihomo/issues/3469
This commit is contained in:
SoulOriginal authored and wwqgtxx committed 2026-11-18 08:18:10 +08:00
1 parent 7907040f27
commit 0976eb6ac1
1 file changed
+1 -1
+1 -1
View File
@@ -190,7 +190,7 @@ func resolveProcessNameByProcSearch(inode, uid uint32) (string, error) {
info, err := f.Info()
if err != nil {
return "", err
continue
}
if info.Sys().(*syscall.Stat_t).Uid != uid {
continue