diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-09-26 10:49:55 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-09-29 10:57:27 -0400 |
commit | 4bed248505da4da94d82078fe60326a374970e97 (patch) | |
tree | 3f11f52ec36162850acfa0299c7b697852e65b67 /src | |
parent | 1679ddc4601982a5b3a852c7ac75277e98781136 (diff) |
journalctl: do not output --reboot-- markers when running non-interactively
They are not legal in the export format.
Diffstat (limited to 'src')
-rw-r--r-- | src/journal/journalctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index 47206d383a..89a922c067 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); |