mirror of
https://github.com/adnanh/webhook.git
synced 2025-10-04 21:51:02 +00:00
Allow Linux setuid/setgid
This commit allows webhook to setuid/setgid when running on Linux. Tested with: go get -d CGO_ENABLED=0 go build -ldflags="-s -w" Correctly compiled, ran, setuid/setgid properly, and answered hook requests.
This commit is contained in:
parent
f187592147
commit
f108a2b38e
4 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
// +build !windows,!linux
|
||||
// +build linux !windows
|
||||
|
||||
package main
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue