diff options
author | Michal Sekletar <msekletar@users.noreply.github.com> | 2017-04-25 09:31:52 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-04-25 09:31:52 +0200 |
commit | f847b8b7df1de5686f8cbe5a4944a85dfb303595 (patch) | |
tree | dbc0447059e36770afe12401dc8f9869f42394c5 /src/core/load-fragment.c | |
parent | docs: clarify ExecStop= implications for remaining processes (#5793) (diff) | |
download | systemd-f847b8b7df1de5686f8cbe5a4944a85dfb303595.tar.xz systemd-f847b8b7df1de5686f8cbe5a4944a85dfb303595.zip |
load-fragment: don't print error about incorrect syntax when IPv6 is disabled (#5791)
Diffstat (limited to '')
-rw-r--r-- | src/core/load-fragment.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c index 8cd79c3c9d..af3c6a4606 100644 --- a/src/core/load-fragment.c +++ b/src/core/load-fragment.c @@ -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; } |