X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Ftransports%2Fautoreply.c;h=90a5aa4be6f3aa58d6d082247e9ea4a4bda06f48;hb=46d2a5e6f6e7709d172903b13945d23fc0a2c888;hp=e75349ed9b7eb9ca928d3226f548bb16b94ea6bc;hpb=eb763a7aaf9ed36939193283153724eb2671c999;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/transports/autoreply.c b/src/src/transports/autoreply.c index e75349ed9..90a5aa4be 100644 --- a/src/src/transports/autoreply.c +++ b/src/src/transports/autoreply.c @@ -567,12 +567,10 @@ if (file) /* Make a subprocess to send the message */ -pid = child_open_exim(&fd); - -/* Creation of child failed; defer this delivery. */ - -if (pid < 0) +if ((pid = child_open_exim(&fd, US"autoreply")) < 0) { + /* Creation of child failed; defer this delivery. */ + addr->transport_return = DEFER; addr->basic_errno = errno; addr->message = string_sprintf("Failed to create child process to send "