mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
journalctl: do not output --reboot-- markers when running non-interactively
They are not legal in the export format.
This commit is contained in:
parent
1679ddc460
commit
4bed248505
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user