From 61fc1870ad230243cf7a8c9f251e6d52ec32cc31 Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Thu, 25 Aug 2022 18:08:07 +0100 Subject: [PATCH] cmd/podman: Enable --syslog on FreeBSD [NO NEW TESTS NEEDED] Signed-off-by: Doug Rabson --- cmd/podman/{syslog_linux.go => syslog_common.go} | 3 +++ cmd/podman/syslog_unsupported.go | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) rename cmd/podman/{syslog_linux.go => syslog_common.go} (88%) diff --git a/cmd/podman/syslog_linux.go b/cmd/podman/syslog_common.go similarity index 88% rename from cmd/podman/syslog_linux.go rename to cmd/podman/syslog_common.go index ac7bbfe0fa..e035e63652 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 42a7851ab2..365e5b2b41 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