mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-26 17:10:45 +08:00
77159d9db6
Only applicable on unix systems, although Go doesn't support Linux at this time.
13 lines
189 B
Go
13 lines
189 B
Go
// +build linux windows
|
|
|
|
package main
|
|
|
|
import (
|
|
"errors"
|
|
"runtime"
|
|
)
|
|
|
|
func dropPrivileges(uid, gid int) error {
|
|
return errors.New("setuid and setgid not supported on " + runtime.GOOS)
|
|
}
|