[exim-cvs] Fix reporting of 2-phase queue-runner daemon, in…

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Fix reporting of 2-phase queue-runner daemon, in daemon start log line and in exiwhat
Gitweb: https://git.exim.org/exim.git/commitdiff/173de73b7a0d9e715178397bd2753c0d5928f141
Commit:     173de73b7a0d9e715178397bd2753c0d5928f141
Parent:     be24b950ae0db88b1c9811b3a028e95133c55efa
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Apr 26 20:57:26 2020 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Apr 26 20:57:26 2020 +0100


    Fix reporting of 2-phase queue-runner daemon, in daemon start log line and in exiwhat
---
 src/src/daemon.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


diff --git a/src/src/daemon.c b/src/src/daemon.c
index 6560da1..f011b2b 100644
--- a/src/src/daemon.c
+++ b/src/src/daemon.c
@@ -1901,7 +1901,8 @@ else if (f.daemon_listen)
   ip_address_item * ipa;
   uschar * p;
   uschar * qinfo = queue_interval > 0
-    ? string_sprintf("-q%s", readconf_printtime(queue_interval))
+    ? string_sprintf("-q%s%s",
+    f.queue_2stage ? "q" : "", readconf_printtime(queue_interval))
     : US"no queue runs";


/* Build a list of listening addresses in big_buffer, but limit it to 10