journalctl: do not output --reboot-- markers when running non-interactively

They are not legal in the export format.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2014-09-29 10:57:27 -04:00
parent 1679ddc460
commit 4bed248505
+1 -1
View File
@@ -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);