sd-boot: fix silly copy/paste mistake

This fixes a very silly copy/paste mistake in 3f95881 - sorry for
that and thanks to Raul Tambre  for reporting.

Closes https://github.com/systemd/systemd/issues/40844
This commit is contained in:
Michael Vogt
2026-03-10 22:31:37 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent 9a512d5a66
commit 9a0c83f7e3
+2 -2
View File
@@ -1049,9 +1049,9 @@ static EFI_STATUS config_timeout_sec_from_string(const char *value, uint64_t *ds
if (streq8(value, "menu-disabled"))
*dst = TIMEOUT_MENU_DISABLED;
else if (streq8(value, "menu-force"))
*dst = TIMEOUT_MENU_DISABLED;
*dst = TIMEOUT_MENU_FORCE;
else if (streq8(value, "menu-hidden"))
*dst = TIMEOUT_MENU_DISABLED;
*dst = TIMEOUT_MENU_HIDDEN;
else {
uint64_t u;
if (!parse_number8(value, &u, NULL) || u > TIMEOUT_TYPE_MAX)