Skip to content

Commit

Permalink
fix build on OpenBSD by defining Self()
Browse files Browse the repository at this point in the history
Signed-off-by: Fabian Raetz <fabian.raetz@gmail.com>
Mischi committed Jun 16, 2018
1 parent a7bcdcf commit 69ab52c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions reexec/command_unsupported.go
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 69ab52c

Please sign in to comment.