From 21537b818de5e4167c5a3856c25b9b06cf16d87d Mon Sep 17 00:00:00 2001 From: Fabian Raetz Date: Sat, 16 Jun 2018 17:53:50 +0200 Subject: [PATCH] fix build on OpenBSD by defining Self() Signed-off-by: Fabian Raetz --- pkg/reexec/command_unsupported.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/reexec/command_unsupported.go b/pkg/reexec/command_unsupported.go index 09fb4b2d29..e7eed24240 100644 --- a/pkg/reexec/command_unsupported.go +++ b/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