Skip to content

Commit 7fee2d6

Browse files
committed
Check all subsystems, not just the first one and require one
1 parent 4674e69 commit 7fee2d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

process.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,11 @@ func checkCGroup(pid int, cgroup string) bool {
5353
return false
5454
}
5555
}
56-
return true
5756
}
5857
}
58+
if len(subsystems) > 0 {
59+
return true
60+
}
5961
}
6062
return false
6163
}

0 commit comments

Comments
 (0)