Update pkg/util/groupids_fallback.go

This commit is contained in:
Tejal Desai 2020-05-03 21:04:22 -07:00 committed by GitHub
parent 8a7ba69efc
commit 5cbf34b67e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ func localGroups(r io.Reader) []*group {
continue
}
// wheel:*:0:root
// wheel:*:0:root,anotherGrp
parts := strings.SplitN(string(line), ":", 4)
if _, err := strconv.Atoi(parts[2]); err != nil {
continue