mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-24 01:07:53 +00:00
I happened to run `podman run --config=/path/to/file` and got an error without a trailing newline, which was a bit jarring. Fix the instances I noticed. Assisted-by: OpenCode (Claude Opus 4.5) Signed-off-by: Colin Walters <walters@verbum.org>
20 lines
306 B
Go
20 lines
306 B
Go
//go:build !linux && !freebsd
|
|
|
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
"runtime"
|
|
|
|
"github.com/containers/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)
|
|
}
|