aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Rabson <dfr@rabson.org>2022-08-25 18:08:07 +0100
committerDoug Rabson <dfr@rabson.org>2022-08-26 08:01:02 +0100
commit61fc1870ad230243cf7a8c9f251e6d52ec32cc31 (patch)
treee4c9561d3a15ba7db8cdf20b29a9d1726a4613a6
parent36cf6f572a360af91bf261936b6ed6849f355478 (diff)
downloadpodman-61fc1870ad230243cf7a8c9f251e6d52ec32cc31.tar.gz
podman-61fc1870ad230243cf7a8c9f251e6d52ec32cc31.tar.bz2
podman-61fc1870ad230243cf7a8c9f251e6d52ec32cc31.zip
cmd/podman: Enable --syslog on FreeBSD
[NO NEW TESTS NEEDED] Signed-off-by: Doug Rabson <dfr@rabson.org>
-rw-r--r--cmd/podman/syslog_common.go (renamed from cmd/podman/syslog_linux.go)3
-rw-r--r--cmd/podman/syslog_unsupported.go4
2 files changed, 5 insertions, 2 deletions
diff --git a/cmd/podman/syslog_linux.go b/cmd/podman/syslog_common.go
index ac7bbfe0f..e035e6365 100644
--- a/cmd/podman/syslog_linux.go
+++ b/cmd/podman/syslog_common.go
@@ -1,3 +1,6 @@
+//go:build linux || freebsd
+// +build linux freebsd
+
package main
import (
diff --git a/cmd/podman/syslog_unsupported.go b/cmd/podman/syslog_unsupported.go
index 42a7851ab..365e5b2b4 100644
--- a/cmd/podman/syslog_unsupported.go
+++ b/cmd/podman/syslog_unsupported.go
@@ -1,5 +1,5 @@
-//go:build !linux
-// +build !linux
+//go:build !linux && !freebsd
+// +build !linux,!freebsd
package main