diff --git a/dnf5-plugins/system_upgrade_plugin/system_upgrade.cpp b/dnf5-plugins/system_upgrade_plugin/system_upgrade.cpp index 7db696ae33..aa81fc2f4c 100644 --- a/dnf5-plugins/system_upgrade_plugin/system_upgrade.cpp +++ b/dnf5-plugins/system_upgrade_plugin/system_upgrade.cpp @@ -632,7 +632,7 @@ void show_log(size_t boot_index) { const auto & boot_id = boot_entries[boot_index].boot_id; const auto rc = call(PATH_TO_JOURNALCTL, {"--boot", boot_id}); - if (rc != 0) { + if (rc != 0 && rc != 1) { throw libdnf5::cli::CommandExitError(1, M_("Unable to match systemd journal entry.")); } }