X-Git-Url: https://vcs.fsf.org/?p=exim.git;a=blobdiff_plain;f=src%2Fsrc%2Fsmtp_in.c;h=268fd69560aa92db0214a9ff89785e96a24e31fc;hp=66f752dd4a3acdaa394c92827f71f12046cd53c0;hb=4b01271fa595a08e68ba8c58d6404e83623aa9c8;hpb=afd5e75ffc8f64f0ebed1df9dce64793011c14a6 diff --git a/src/src/smtp_in.c b/src/src/smtp_in.c index 66f752dd4..268fd6956 100644 --- a/src/src/smtp_in.c +++ b/src/src/smtp_in.c @@ -5759,7 +5759,7 @@ while (done <= 0) oldsignal = signal(SIGCHLD, SIG_IGN); - if ((pid = fork()) == 0) + if ((pid = exim_fork(US"etrn-command")) == 0) { smtp_input = FALSE; /* This process is not associated with the */ (void)fclose(smtp_in); /* SMTP call any more. */ @@ -5770,7 +5770,8 @@ while (done <= 0) /* If not serializing, do the exec right away. Otherwise, fork down into another process. */ - if (!smtp_etrn_serialize || (pid = fork()) == 0) + if ( !smtp_etrn_serialize + || (pid = exim_fork(US"etrn-serialised-command")) == 0) { DEBUG(D_exec) debug_print_argv(argv); exim_nullstd(); /* Ensure std{in,out,err} exist */