Skip to content

Commit

Permalink
More openbsd support
Browse files Browse the repository at this point in the history
  • Loading branch information
mtibben committed Mar 18, 2021
1 parent 4270224 commit c0dd7f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ func execCmd(command string, args []string, env []string) error {
}

func supportsExecSyscall() bool {
return runtime.GOOS == "linux" || runtime.GOOS == "darwin" || runtime.GOOS == "freebsd"
return runtime.GOOS == "linux" || runtime.GOOS == "darwin" || runtime.GOOS == "freebsd" || runtime.GOOS == "openbsd"
}

func execSyscall(command string, args []string, env []string) error {
Expand Down
2 changes: 1 addition & 1 deletion server/ec2proxy_default.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !darwin,!freebsd,!linux
// +build !darwin,!freebsd,!openbsd,!linux

package server

Expand Down
2 changes: 1 addition & 1 deletion server/ec2proxy_unix.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build darwin freebsd linux
// +build darwin freebsd openbsd linux

package server

Expand Down

0 comments on commit c0dd7f8

Please sign in to comment.