mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-07 17:17:44 +03:00
journalctl: add match for the current boot when called with devpath
This commit is contained in:
parent
264a58110e
commit
485fd9a7b9
@ -218,6 +218,10 @@ static int add_matches_for_device(sd_journal *j, const char *devpath) {
|
||||
d = udev_device_get_parent(d);
|
||||
}
|
||||
|
||||
r = add_match_this_boot(j, arg_machine);
|
||||
if (r < 0)
|
||||
return log_error_errno(r, "Failed to add match for the current boot: %m");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user