mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 17:06:39 +09:00
core: improve log message about missing Listen setting (#4988)
Fixes: #4987
This commit is contained in:
committed by
Martin Pitt
parent
73c729d768
commit
4d1fe20a58
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user