Skip to content

Commit

Permalink
The _unix.go files need to be explicitly excluded.
Browse files Browse the repository at this point in the history
  • Loading branch information
monicasarbu committed May 13, 2014
1 parent fb56a25 commit d67c54f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 2 additions & 0 deletions droppriv_unix.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build !windows

package main

import (
Expand Down
5 changes: 0 additions & 5 deletions droppriv_windows.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
package main

import (
"syscall"
)

func DropPrivileges() error {
var err error

if !_ConfigMeta.IsDefined("runoptions", "uid") {
// not found, no dropping privileges but no err
Expand Down
2 changes: 2 additions & 0 deletions log_unix.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build !windows

package main

import (
Expand Down

0 comments on commit d67c54f

Please sign in to comment.