bootctl: downgrade log message when firmware reports non-existent or invalid boot entry

Fixes #25359.
This commit is contained in:
Yu Watanabe
2022-11-13 14:41:28 +09:00
parent a7dcb75c53
commit 78bfeeae50
+1 -1
View File
@@ -586,7 +586,7 @@ static int print_efi_option(uint16_t id, int *n_printed, bool in_order) {
r = efi_get_boot_option(id, &title, &partition, &path, &active);
if (r < 0)
return log_error_errno(r, "Failed to read boot option 0x%04X: %m", id);
return log_debug_errno(r, "Failed to read boot option 0x%04X: %m", id);
/* print only configured entries with partition information */
if (!path || sd_id128_is_null(partition)) {