summaryrefslogtreecommitdiff
path: root/src/journal/journalctl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-12-29 15:00:57 +0100
committerLennart Poettering <lennart@poettering.net>2011-12-29 15:00:57 +0100
commitcf244689e9d1ab50082c9ddd0f3c4d1eb982badc (patch)
tree0b2b9438e6269b1e9b4aee155d4eda60f2a8d720 /src/journal/journalctl.c
parentde97b26ac5e29063632312ec1a20eb6318ca924c (diff)
journald: flush /run to /var as soon as it becomes available
Diffstat (limited to 'src/journal/journalctl.c')
-rw-r--r--src/journal/journalctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index 5a1cb6e88a..da4f51021d 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -454,7 +454,7 @@ int main(int argc, char *argv[]) {
if (r <= 0)
goto finish;
- r = sd_journal_open(&j);
+ r = sd_journal_open(&j, 0);
if (r < 0) {
log_error("Failed to open journal: %s", strerror(-r));
goto finish;