summaryrefslogtreecommitdiff
path: root/libpod/events/journal_unsupported.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/events/journal_unsupported.go')
-rw-r--r--libpod/events/journal_unsupported.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/libpod/events/journal_unsupported.go b/libpod/events/journal_unsupported.go
new file mode 100644
index 000000000..c91d81f12
--- /dev/null
+++ b/libpod/events/journal_unsupported.go
@@ -0,0 +1,8 @@
+// +build !systemd
+
+package events
+
+// newEventJournalD always returns an error if libsystemd not found
+func newEventJournalD(options EventerOptions) (Eventer, error) {
+ return nil, ErrNoJournaldLogging
+}