summaryrefslogtreecommitdiff
path: root/libpod/container_log_unsupported.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/container_log_unsupported.go')
-rw-r--r--libpod/container_log_unsupported.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/libpod/container_log_unsupported.go b/libpod/container_log_unsupported.go
index 0c3d41620..0ec5740e2 100644
--- a/libpod/container_log_unsupported.go
+++ b/libpod/container_log_unsupported.go
@@ -1,7 +1,11 @@
-//+build !linux
+//+build !linux !systemd
package libpod
+import (
+ "github.com/pkg/errors"
+)
+
func (c *Container) readFromJournal(options *LogOptions, logChannel chan *LogLine) error {
- return ErrOSNotSupported
+ return errors.Wrapf(ErrOSNotSupported, "Journald logging only enabled with systemd on linux")
}