diff options
-rw-r--r-- | src/journal/journal-verify.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/journal/journal-verify.c b/src/journal/journal-verify.c index 637162e305..0a8f30ceca 100644 --- a/src/journal/journal-verify.c +++ b/src/journal/journal-verify.c @@ -123,8 +123,10 @@ static int journal_file_object_verify(JournalFile *f, uint64_t offset, Object *o * other objects. */ if ((o->object.flags & OBJECT_COMPRESSED_XZ) && - o->object.type != OBJECT_DATA) + o->object.type != OBJECT_DATA) { + error(offset, "Found compressed object that isn't of type DATA, which is not allowed."); return -EBADMSG; + } switch (o->object.type) { |