X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/2566035fb6e86813da28743a0f6d784e84451bd2..9bfb7e1bec2b3b6022c2e7b42df9ac606693dcfd:/src/src/deliver.c diff --git a/src/src/deliver.c b/src/src/deliver.c index b036a846a..89ad7e5ea 100644 --- a/src/src/deliver.c +++ b/src/src/deliver.c @@ -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]);