dovecot-2.2: master: systemd's sd_listen_fds() error handling wa...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Sep 10 22:21:37 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/179477c59392
changeset: 19141:179477c59392
user: Timo Sirainen <tss at iki.fi>
date: Fri Sep 11 01:20:28 2015 +0300
description:
master: systemd's sd_listen_fds() error handling was wrong.
diffstat:
src/master/service-listen.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 390d55d627a8 -r 179477c59392 src/master/service-listen.c
--- a/src/master/service-listen.c Wed Sep 09 11:31:41 2015 +0300
+++ b/src/master/service-listen.c Fri Sep 11 01:20:28 2015 +0300
@@ -166,8 +166,8 @@
if (sd_fds < 0) {
sd_fds = sd_listen_fds(0);
- if (sd_fds == -1) {
- i_error("sd_listen_fds() failed: %m");
+ if (sd_fds < 0) {
+ i_error("sd_listen_fds() failed: %s", strerror(-sd_fds));
return -1;
}
}
More information about the dovecot-cvs
mailing list