Browse Source

fix build on OpenBSD by defining Self()

Signed-off-by: Fabian Raetz <fabian.raetz@gmail.com>
Fabian Raetz 7 years ago
parent
commit
21537b818d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pkg/reexec/command_unsupported.go

+ 4 - 0
pkg/reexec/command_unsupported.go

@@ -6,6 +6,10 @@ import (
 	"os/exec"
 )
 
+func Self() string {
+	return ""
+}
+
 // Command is unsupported on operating systems apart from Linux, Windows, and Darwin.
 func Command(args ...string) *exec.Cmd {
 	return nil