| 1 |
// Copyright Martin Dosch. |
| 2 |
// Use of this source code is governed by the BSD-2-clause |
| 3 |
// license that can be found in the LICENSE file. |
| 4 |
//go:build windows |
| 5 |
|
| 6 |
package main |
| 7 |
|
| 8 |
func dropPrivs() error { |
| 9 |
// Windows doesn't support syscall.Setuid and syscall.Setgid |
| 10 |
return nil |
| 11 |
} |