summaryrefslogtreecommitdiff
path: root/src/core/socket.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-12-29 10:39:30 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2016-12-29 10:39:30 +0100
commit4d1fe20a585caadce57ef2d6a631a0d8029d2518 (patch)
tree6559b232f722c265650e3800f3d5feccd6694a6c /src/core/socket.c
parent73c729d76871a64840a4d89fc61a5a64cc96e596 (diff)
core: improve log message about missing Listen setting (#4988)
Fixes: #4987
Diffstat (limited to 'src/core/socket.c')
-rw-r--r--src/core/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/socket.c b/src/core/socket.c
index 0960a30039..b88bd51245 100644
--- a/src/core/socket.c
+++ b/src/core/socket.c
@@ -448,7 +448,7 @@ static int socket_verify(Socket *s) {
return 0;
if (!s->ports) {
- log_unit_error(UNIT(s), "Unit lacks Listen setting. Refusing.");
+ log_unit_error(UNIT(s), "Unit has no Listen setting (e.g. ListenStream=, ListenDatagram=, ListenFIFO, ...). Refusing.");
return -EINVAL;
}