From 9c4e3f2624102c0b59cea78aabe4ed1f1d60064e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 4 Jan 2012 03:45:14 +0100 Subject: journal: don't mind too much if we can't find a monotonic timestamp --- src/journal/sd-journal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3-54-g00ecf