This commit is contained in:
Yu Watanabe
2022-04-11 02:30:29 +09:00
parent 3a258d3a47
commit 513631a757
+1 -1
View File
@@ -2794,7 +2794,7 @@ static int property_get_reboot_to_boot_loader_menu(
r = getenv_bool("SYSTEMD_REBOOT_TO_BOOT_LOADER_MENU");
if (r == -ENXIO) {
/* EFI case: returns the current value of LoaderConfigTimeoutOneShot. Three cases are distiinguished:
/* EFI case: returns the current value of LoaderConfigTimeoutOneShot. Three cases are distinguished:
*
* 1. Variable not set, boot into boot loader menu is not enabled (we return UINT64_MAX to the user)
* 2. Variable set to "0", boot into boot loader menu is enabled with no timeout (we return 0 to the user)