diff options
author | Sean E. Russell <ser@ser1.net> | 2020-05-28 17:50:47 -0500 |
---|---|---|
committer | Sean E. Russell <ser@ser1.net> | 2020-05-28 18:10:42 -0500 |
commit | 0a7c4d82e4cbf05ee28549e7e6ef19aa4f262325 (patch) | |
tree | 4e90b1da06c85d2cc0e1d465ca47f7bfa4cffc52 | |
parent | 6076d6451e9ef97e96dfea4b96a9c9af16ef49ab (diff) |
Always use Dup2 on FreeBSD. Clears up the FreeBSD dup2 patch issues; the build flags were causing compile failures on other target OSes.
-rw-r--r-- | logging/logging_arm64.go | 2 | ||||
-rw-r--r-- | logging/logging_other.go | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/logging/logging_arm64.go b/logging/logging_arm64.go index 03848bb..b88c479 100644 --- a/logging/logging_arm64.go +++ b/logging/logging_arm64.go @@ -1,4 +1,4 @@ -// +build arm64 +// +build !freebsd,arm64 package logging diff --git a/logging/logging_other.go b/logging/logging_other.go index fd88b83..e910821 100644 --- a/logging/logging_other.go +++ b/logging/logging_other.go @@ -1,5 +1,4 @@ -// +build linux openbsd freebsd darwin -// +build !arm64 +// +build linux,!arm64 openbsd,!arm64 freebsd darwin,!arm64 package logging |