else {
uint64_t u;
if (!parse_number8(value, &u, NULL) || u > TIMEOUT_TYPE_MAX) {
- log_error("Error parsing 'timeout' config option: %s", value);
+ log_error("Error parsing 'timeout' config option, ignoring: %s",
+ value);
continue;
}
config->timeout_sec_config = u;
if (streq8(key, "default")) {
if (value[0] == '@' && !strcaseeq8(value, "@saved")) {
- log_error("Unsupported special entry identifier: %s", value);
+ log_error("Unsupported special entry identifier, ignoring: %s", value);
continue;
}
free(config->entry_default_config);
if (streq8(key, "editor")) {
err = parse_boolean(value, &config->editor);
if (err != EFI_SUCCESS)
- log_error("Error parsing 'editor' config option: %s", value);
+ log_error("Error parsing 'editor' config option, ignoring: %s", value);
continue;
}
if (streq8(key, "auto-entries")) {
err = parse_boolean(value, &config->auto_entries);
if (err != EFI_SUCCESS)
- log_error("Error parsing 'auto-entries' config option: %s", value);
+ log_error("Error parsing 'auto-entries' config option, ignoring: %s", value);
continue;
}
if (streq8(key, "auto-firmware")) {
err = parse_boolean(value, &config->auto_firmware);
if (err != EFI_SUCCESS)
- log_error("Error parsing 'auto-firmware' config option: %s", value);
+ log_error("Error parsing 'auto-firmware' config option, ignoring: %s", value);
continue;
}
if (streq8(key, "beep")) {
err = parse_boolean(value, &config->beep);
if (err != EFI_SUCCESS)
- log_error("Error parsing 'beep' config option: %s", value);
+ log_error("Error parsing 'beep' config option, ignoring: %s", value);
continue;
}
if (streq8(key, "reboot-for-bitlocker")) {
err = parse_boolean(value, &config->reboot_for_bitlocker);
if (err != EFI_SUCCESS)
- log_error("Error parsing 'reboot-for-bitlocker' config option: %s", value);
+ log_error("Error parsing 'reboot-for-bitlocker' config option, ignoring: %s",
+ value);
}
if (streq8(key, "secure-boot-enroll")) {
else if (streq8(value, "off"))
config->secure_boot_enroll = ENROLL_OFF;
else
- log_error("Error parsing 'secure-boot-enroll' config option: %s", value);
+ log_error("Error parsing 'secure-boot-enroll' config option, ignoring: %s",
+ value);
continue;
}
else {
uint64_t u;
if (!parse_number8(value, &u, NULL) || u > CONSOLE_MODE_RANGE_MAX) {
- log_error("Error parsing 'console-mode' config option: %s", value);
+ log_error("Error parsing 'console-mode' config option, ignoring: %s",
+ value);
continue;
}
config->console_mode = u;