Logging: avoid pause during log-open under testsuite
authorJeremy Harris <jgh146exb@wizmail.org>
Fri, 28 May 2021 12:33:49 +0000 (13:33 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Fri, 28 May 2021 12:33:49 +0000 (13:33 +0100)
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
src/src/log.c

index bb6902ea082af8b86d7c72494c1f136655e057bf..ae4f084e63225c36888205176a9ad40f00b212f2 100644 (file)
@@ -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]);