Update pkg/util/groupids_fallback.go
This commit is contained in:
parent
8a7ba69efc
commit
5cbf34b67e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue