diff --git a/libcontainer/cgroups/utils.go b/libcontainer/cgroups/utils.go index b86c4151..6e88b5df 100644 --- a/libcontainer/cgroups/utils.go +++ b/libcontainer/cgroups/utils.go @@ -138,7 +138,7 @@ func readProcsFile(file string) ([]int, error) { out = append(out, pid) } } - return out, nil + return out, s.Err() } // ParseCgroupFile parses the given cgroup file, typically /proc/self/cgroup