Fix reporting of 2-phase queue-runner daemon, in daemon start log line and in exiwhat
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 26 Apr 2020 19:57:26 +0000 (20:57 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Sun, 26 Apr 2020 19:57:26 +0000 (20:57 +0100)
src/src/daemon.c

index 6560da1..f011b2b 100644 (file)
@@ -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