X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Frouters%2Fqueryprogram.c;h=767dc716740648e2b46fe6210f62975ba9a44c7c;hb=a06afb97d53eb100c7f1b5b00da746d071d52415;hp=107632f4411f08fe9a275ba318bfddf64b5efed8;hpb=13a4b4c1810a1a9f3c956f1e92807a0d86c6f5bf;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/routers/queryprogram.c b/src/src/routers/queryprogram.c index 107632f44..767dc7167 100644 --- a/src/src/routers/queryprogram.c +++ b/src/src/routers/queryprogram.c @@ -308,10 +308,8 @@ if (!transport_set_up_command(&argvptr, /* anchor for arg list */ /* Create the child process, making it a group leader. */ -pid = child_open_uid(argvptr, NULL, 0077, puid, pgid, &fd_in, &fd_out, - current_directory, TRUE); - -if (pid < 0) +if ((pid = child_open_uid(argvptr, NULL, 0077, puid, pgid, &fd_in, &fd_out, + current_directory, TRUE, US"queryprogram-cmd")) < 0) { addr->message = string_sprintf("%s router couldn't create child process: %s", rblock->name, strerror(errno));