projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73c729d
)
core: improve log message about missing Listen setting (#4988)
author
Lennart Poettering
<lennart@poettering.net>
Thu, 29 Dec 2016 09:39:30 +0000
(10:39 +0100)
committer
Martin Pitt
<martin.pitt@ubuntu.com>
Thu, 29 Dec 2016 09:39:30 +0000
(10:39 +0100)
Fixes: #4987
src/core/socket.c
patch
|
blob
|
history
diff --git
a/src/core/socket.c
b/src/core/socket.c
index 0960a300393fc86159022217a73eb82e1c95bb87..b88bd512458b0e8ca99cb2b73d82fd048cdb8a3e 100644
(file)
--- 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;
}