mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-08 20:58:20 +03:00
journalctl: show boot id in the reboot context separator
This commit is contained in:
parent
f25e30dec4
commit
ea394d48cc
@ -2672,8 +2672,8 @@ int main(int argc, char *argv[]) {
|
||||
if (r >= 0) {
|
||||
if (previous_boot_id_valid &&
|
||||
!sd_id128_equal(boot_id, previous_boot_id))
|
||||
printf("%s-- Reboot --%s\n",
|
||||
ansi_highlight(), ansi_normal());
|
||||
printf("%s-- Boot "SD_ID128_FORMAT_STR" --%s\n",
|
||||
ansi_highlight(), SD_ID128_FORMAT_VAL(boot_id), ansi_normal());
|
||||
|
||||
previous_boot_id = boot_id;
|
||||
previous_boot_id_valid = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user