podman/cmd/podman/syslog_unsupported.go

18 lines
194 B
Go

// +build !linux
package main
import (
"fmt"
"os"
)
func syslogHook() {
if !useSyslog {
return
}
fmt.Fprintf(os.Stderr, "Logging to Syslog is not supported on Windows")
os.Exit(1)
}