2020-10-14 00:10:57 +00:00
|
|
|
// +build !linux
|
|
|
|
|
|
|
|
package journald
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
)
|
|
|
|
|
2021-01-05 13:09:41 +00:00
|
|
|
// Enable returns an error on non-Linux systems
|
2020-10-14 00:10:57 +00:00
|
|
|
func Enable() error {
|
|
|
|
return fmt.Errorf("journald is not supported in this platform")
|
|
|
|
}
|