mirror of
https://github.com/systemd/systemd.git
synced 2024-10-30 06:25:37 +03:00
networkd: change message about missing Kind
If Kind is not specied, the message about "Invalid Kind" was misleading. If Kind was specified in an invalid way, we get a message in the parsing phase anyway. Reword the message to cover both cases better.
This commit is contained in:
parent
bac150e9d1
commit
881e6b5edf
@ -622,7 +622,7 @@ static int netdev_load_one(Manager *manager, const char *filename) {
|
||||
return 0;
|
||||
|
||||
if (netdev_raw->kind == _NETDEV_KIND_INVALID) {
|
||||
log_warning("NetDev with invalid Kind configured in %s. Ignoring", filename);
|
||||
log_warning("NetDev has no Kind configured in %s. Ignoring", filename);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user