Skip to content

Commit

Permalink
initilize group to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
tejal29 committed Feb 3, 2020
1 parent 56125ff commit 0c6f6b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/command_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ func GetUserFromUsername(userStr string, groupStr string, fallbackToUID bool) (s
}

uid := userObj.Uid
gid := ""
gid := "0"
if fallbackToUID {
gid = userObj.Gid
}
Expand Down

0 comments on commit 0c6f6b7

Please sign in to comment.