Argh, fix stupid typo.
This commit is contained in:
parent
c50accfaec
commit
a9dab7b48c
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ func DropPrivs(ui userInfo) error {
|
|||
}
|
||||
|
||||
// Drop supplementary groups
|
||||
if ui.root_supp_goup {
|
||||
if ui.root_supp_group {
|
||||
err := syscall.Setgroups([]int{})
|
||||
if err != nil {
|
||||
log.Println("Could not unset supplementary groups: " + err.Error())
|
||||
|
|
Loading…
Reference in a new issue