mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-22 22:03:43 +03:00
bootspec: update log message, to indicate the error is ignored
This commit is contained in:
parent
71f514169b
commit
feb41f1ffe
@ -115,7 +115,7 @@ static int boot_entry_load(const char *path, BootEntry *entry) {
|
|||||||
else if (streq(field, "devicetree"))
|
else if (streq(field, "devicetree"))
|
||||||
r = free_and_strdup(&tmp.device_tree, p);
|
r = free_and_strdup(&tmp.device_tree, p);
|
||||||
else {
|
else {
|
||||||
log_notice("%s:%u: Unknown line \"%s\"", path, line, field);
|
log_notice("%s:%u: Unknown line \"%s\", ignoring.", path, line, field);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (r < 0)
|
if (r < 0)
|
||||||
@ -203,7 +203,7 @@ static int boot_loader_read_conf(const char *path, BootConfig *config) {
|
|||||||
else if (streq(field, "console-mode"))
|
else if (streq(field, "console-mode"))
|
||||||
r = free_and_strdup(&config->console_mode, p);
|
r = free_and_strdup(&config->console_mode, p);
|
||||||
else {
|
else {
|
||||||
log_notice("%s:%u: Unknown line \"%s\"", path, line, field);
|
log_notice("%s:%u: Unknown line \"%s\", ignoring.", path, line, field);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (r < 0)
|
if (r < 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user