summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-04-13 16:51:33 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-13 18:52:52 +0200
commite58a12770c0c7b9571cc80f487d666151811c1ee (patch)
tree69321adf111d3c7c162bf306e5232ab299d34401 /src/journal
parenta417efcd33776879befa851bafec9185ef15f53e (diff)
nspawn: fake /dev/kmsg and /proc/kmsg as fifo
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journald.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/journal/journald.c b/src/journal/journald.c
index 97d2ec05c7..a6f27f6ef4 100644
--- a/src/journal/journald.c
+++ b/src/journal/journald.c
@@ -2479,7 +2479,6 @@ static int open_proc_kmsg(Server *s) {
if (!s->import_proc_kmsg)
return 0;
-
s->proc_kmsg_fd = open("/proc/kmsg", O_RDONLY|O_CLOEXEC|O_NONBLOCK|O_NOCTTY);
if (s->proc_kmsg_fd < 0) {
log_warning("Failed to open /proc/kmsg, ignoring: %m");