1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00

network: do not abort execution when a config file cannot be loaded

Closes #13516.
This commit is contained in:
Yu Watanabe 2019-09-11 18:24:41 +09:00
parent 0f93577647
commit be7110826e
2 changed files with 2 additions and 2 deletions

View File

@ -844,7 +844,7 @@ int netdev_load(Manager *manager) {
STRV_FOREACH(f, files) { STRV_FOREACH(f, files) {
r = netdev_load_one(manager, *f); r = netdev_load_one(manager, *f);
if (r < 0) if (r < 0)
return r; log_error_errno(r, "Failed to load %s, ignoring: %m", *f);
} }
return 0; return 0;

View File

@ -506,7 +506,7 @@ int network_load(Manager *manager) {
STRV_FOREACH(f, files) { STRV_FOREACH(f, files) {
r = network_load_one(manager, *f); r = network_load_one(manager, *f);
if (r < 0) if (r < 0)
return r; log_error_errno(r, "Failed to load %s, ignoring: %m", *f);
} }
return 0; return 0;