1
0
Fork 0

Argh, fix stupid typo.

This commit is contained in:
Solderpunk 2023-02-23 20:04:48 +01:00
parent c50accfaec
commit a9dab7b48c

View file

@ -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())