summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/src/daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/daemon.c b/src/src/daemon.c
index de794f693..9b19c6249 100644
--- a/src/src/daemon.c
+++ b/src/src/daemon.c
@@ -1042,7 +1042,7 @@ The preparation code decodes options and sets up the relevant data. We do this
first, so that we can return non-zero if there are any syntax errors, and also
write to stderr. */
-else if (daemon_listen)
+if (daemon_listen && !inetd_wait_mode)
{
int *default_smtp_port;
int sep;