]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/journal/test-journal-verify.c
tree-wide: drop {} from one-line if blocks
[thirdparty/systemd.git] / src / journal / test-journal-verify.c
index d24502d9a88dc11cbe79a642f331a96159b554c9..9dd9cb853f7a2ae4391cfcd7ee39b544c3f46515 100644 (file)
@@ -118,12 +118,11 @@ int main(int argc, char *argv[]) {
 
         assert_se(journal_file_verify(f, verification_key, &from, &to, &total, true) >= 0);
 
-        if (verification_key && JOURNAL_HEADER_SEALED(f->header)) {
+        if (verification_key && JOURNAL_HEADER_SEALED(f->header))
                 log_info("=> Validated from %s to %s, %s missing",
                          format_timestamp(a, sizeof(a), from),
                          format_timestamp(b, sizeof(b), to),
                          format_timespan(c, sizeof(c), total > to ? total - to : 0, 0));
-        }
 
         journal_file_close(f);