summaryrefslogtreecommitdiff
path: root/src/journal/sd-journal.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-04 03:45:14 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-04 03:45:14 +0100
commit9c4e3f2624102c0b59cea78aabe4ed1f1d60064e (patch)
tree70715af50f55e0e6b3cf04e60dbf7239c55dec04 /src/journal/sd-journal.c
parentb1a0ab714863ae77e4683820757b3f49c03a0049 (diff)
journal: don't mind too much if we can't find a monotonic timestamp
Diffstat (limited to 'src/journal/sd-journal.c')
-rw-r--r--src/journal/sd-journal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c
index 555c35ecc2..fde1a0be88 100644
--- a/src/journal/sd-journal.c
+++ b/src/journal/sd-journal.c
@@ -349,7 +349,7 @@ static int find_location(sd_journal *j, JournalFile *f, direction_t direction, O
r = journal_file_move_to_entry_by_monotonic(f, j->current_location.boot_id, j->current_location.monotonic, direction, &o, &p);
if (r <= 0)
- return r;
+ return r == -ENOENT ? 0 : r;
}
LIST_FOREACH(matches, m, j->matches) {