1
1
Fork 0
mirror of https://tildegit.org/solderpunk/molly-brown synced 2024-04-28 06:45:03 +02:00

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