From: Jeremy Harris Date: Fri, 28 May 2021 12:33:49 +0000 (+0100) Subject: Logging: avoid pause during log-open under testsuite X-Git-Tag: exim-4.95-RC0~48 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/d0ca5e2e73a2a8092db4b1966f1da67fd67b8d41 Logging: avoid pause during log-open under testsuite It results in rearranged logging output, causing testsuite case failures The downside is that we lose debug visbility of the extra process startup Broken-by: b6c1434e47 --- diff --git a/src/src/log.c b/src/src/log.c index bb6902ea0..ae4f084e6 100644 --- a/src/src/log.c +++ b/src/src/log.c @@ -403,7 +403,7 @@ else if (euid == root_uid) int sock[2]; if (socketpair(AF_UNIX, SOCK_STREAM, 0, sock) == 0) { - const pid_t pid = exim_fork(US"logfile-open"); + const pid_t pid = fork(); if (pid == 0) { (void)close(sock[0]);