mirror of
https://github.com/systemd/systemd.git
synced 2024-10-31 16:21:26 +03:00
load-fragment: don't print error about incorrect syntax when IPv6 is disabled (#5791)
This commit is contained in:
parent
23656d2b95
commit
f847b8b7df
@ -392,7 +392,9 @@ int config_parse_socket_listen(const char *unit,
|
||||
|
||||
r = socket_address_parse_and_warn(&p->address, k);
|
||||
if (r < 0) {
|
||||
log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse address value, ignoring: %s", rvalue);
|
||||
if (r != -EAFNOSUPPORT)
|
||||
log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse address value, ignoring: %s", rvalue);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user