spiegel_podman/cmd/podman/syslog_unsupported.go
Brent Baude 2cc3be7332
RUN-4539: Change podman module paths
The podman module paths are moving from github.com/containers/podman to
go.podman.io/podman.  This will help with future mobility.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2026-04-22 14:02:25 -05:00

20 lines
297 B
Go

//go:build !linux && !freebsd
package main
import (
"fmt"
"os"
"runtime"
"go.podman.io/podman/v6/cmd/podman/registry"
)
func syslogHook() {
if !registry.PodmanConfig().Syslog {
return
}
fmt.Fprintf(os.Stderr, "Logging to Syslog is not supported on %s\n", runtime.GOOS)
os.Exit(1)
}