From: Zbigniew Jędrzejewski-Szmek Date: Fri, 26 Sep 2014 14:49:55 +0000 (-0400) Subject: journalctl: do not output --reboot-- markers when running non-interactively X-Git-Tag: v217~407 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=4bed248505da4da94d82078fe60326a374970e97;p=elogind.git journalctl: do not output --reboot-- markers when running non-interactively They are not legal in the export format. --- diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index 47206d383..89a922c06 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -1939,7 +1939,7 @@ int main(int argc, char *argv[]) { goto finish; } - if (!arg_merge) { + if (!arg_merge && !arg_quiet) { sd_id128_t boot_id; r = sd_journal_get_monotonic_usec(j, NULL, &boot_id);