]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bootctl: downgrade log message when firmware reports non-existent or invalid boot... 25368/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 13 Nov 2022 05:41:08 +0000 (14:41 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 13 Nov 2022 05:41:28 +0000 (14:41 +0900)
Fixes #25359.

src/boot/bootctl.c

index b7af60c2c6ac8d51b81b81d0eef001eb380b2064..30cb64adee79c83c8031461ad5562c588c43db4b 100644 (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)) {