Skip to content

Commit 21537b8

Browse files
committed
fix build on OpenBSD by defining Self()
Signed-off-by: Fabian Raetz <[email protected]>
1 parent de0abf4 commit 21537b8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pkg/reexec/command_unsupported.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ import (
66
"os/exec"
77
)
88

9+
func Self() string {
10+
return ""
11+
}
12+
913
// Command is unsupported on operating systems apart from Linux, Windows, and Darwin.
1014
func Command(args ...string) *exec.Cmd {
1115
return nil

0 commit comments

Comments
 (0)