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
+1 -1
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