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
|
// Drop supplementary groups
|
||||||
if ui.root_supp_goup {
|
if ui.root_supp_group {
|
||||||
err := syscall.Setgroups([]int{})
|
err := syscall.Setgroups([]int{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println("Could not unset supplementary groups: " + err.Error())
|
log.Println("Could not unset supplementary groups: " + err.Error())
|
||||||
|
|
Loading…
Add table
Reference in a new issue