summaryrefslogtreecommitdiff
path: root/src/journal/journal-verify.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-08-16 21:00:34 +0200
committerLennart Poettering <lennart@poettering.net>2012-08-16 21:00:47 +0200
commit56e81f7ca8276e40f8c88c4c30713a5b54009613 (patch)
tree4df64c8d412280533f75d16b61e69794f5c5deb4 /src/journal/journal-verify.c
parentb7c9ae91d111b3e89d1ffc00e08f9ed97a8ff5db (diff)
journalctl: immeidately terminate on invalid seed
Diffstat (limited to 'src/journal/journal-verify.c')
-rw-r--r--src/journal/journal-verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-verify.c b/src/journal/journal-verify.c
index f6cec1eb52..6871433402 100644
--- a/src/journal/journal-verify.c
+++ b/src/journal/journal-verify.c
@@ -667,7 +667,7 @@ int journal_file_verify(JournalFile *f, const char *seed) {
r = journal_file_parse_seed(f, seed);
if (r < 0) {
log_error("Failed to parse seed.");
- goto fail;
+ return r;
}
}