diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/journal/journalctl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index 38fb43970e..20f7082175 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -220,6 +220,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; } |