diff --git a/internal/util/pidlimit.go b/internal/util/pidlimit.go index 4ac566efb..19271ba06 100644 --- a/internal/util/pidlimit.go +++ b/internal/util/pidlimit.go @@ -47,7 +47,7 @@ func getCgroupPidsFile() (string, error) { scanner := bufio.NewScanner(cgroup) var slice string for scanner.Scan() { - parts := strings.Split(scanner.Text(), ":") + parts := strings.SplitN(scanner.Text(), ":", 3) if parts == nil || len(parts) < 3 { continue }