mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-13 20:29:35 +00:00
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>
20 lines
297 B
Go
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)
|
|
}
|