Merge pull request #80 from jonboulle/master
users[i].primary-group option seems invalid
This commit is contained in:
commit
9a4d24826f
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user