Argh, fix stupid typo.

This commit is contained in:
Solderpunk 2023-02-23 20:04:48 +01:00
parent c50accfaec
commit a9dab7b48c
1 changed files with 1 additions and 1 deletions

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