Merge pull request #80 from jonboulle/master

users[i].primary-group option seems invalid
This commit is contained in:
Jonathan Boulle 2014-05-07 21:12:45 -07:00
commit 9a4d24826f

View File

@ -53,7 +53,7 @@ func CreateUser(u *User) error {
}
if u.PrimaryGroup != "" {
args = append(args, "--primary-group", u.PrimaryGroup)
args = append(args, "--gid", u.PrimaryGroup)
}
if len(u.Groups) > 0 {