mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
network: do not abort execution when a config file cannot be loaded
Closes #13516.
This commit is contained in:
parent
0f93577647
commit
be7110826e
@ -844,7 +844,7 @@ int netdev_load(Manager *manager) {
|
||||
STRV_FOREACH(f, files) {
|
||||
r = netdev_load_one(manager, *f);
|
||||
if (r < 0)
|
||||
return r;
|
||||
log_error_errno(r, "Failed to load %s, ignoring: %m", *f);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@ -506,7 +506,7 @@ int network_load(Manager *manager) {
|
||||
STRV_FOREACH(f, files) {
|
||||
r = network_load_one(manager, *f);
|
||||
if (r < 0)
|
||||
return r;
|
||||
log_error_errno(r, "Failed to load %s, ignoring: %m", *f);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user