Debug: output type of process as it terminates
[exim.git] / src / src / deliver.c
index b036a846afe4eef11968c9054e4b631d20567b83..89ad7e5eaed2a652dce707695fe52fc7e96cf63e 100644 (file)
@@ -8510,9 +8510,9 @@ if (cutthrough.fd >= 0 && cutthrough.callout_hold_only)
       {
       close(pfd[1]);
       if ((pid = fork()))
-       _exit(pid ? EXIT_FAILURE : EXIT_SUCCESS);
+       _exit(pid < 0 ? EXIT_FAILURE : EXIT_SUCCESS);
       smtp_proxy_tls(big_buffer, big_buffer_size, pfd[0], 5*60);
-      exim_exit(0);
+      exim_exit(0, US"TLS proxy");
       }
 
     close(pfd[0]);