Pārlūkot izejas kodu

Merge pull request #37301 from Mischi/fix-define-self

fix build on OpenBSD by defining Self()
Sebastiaan van Stijn 7 gadi atpakaļ
vecāks
revīzija
cb37987ee1
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      pkg/reexec/command_unsupported.go

+ 4 - 0
pkg/reexec/command_unsupported.go

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