[exim-cvs] Drop over-tight errorcheck.

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Exim Git Commits Mailing List
Ημερομηνία:  
Προς: exim-cvs
Αντικείμενο: [exim-cvs] Drop over-tight errorcheck.
Gitweb: https://git.exim.org/exim.git/commitdiff/6567b79f79a209265a52340bd0fd30667d8aef46
Commit:     6567b79f79a209265a52340bd0fd30667d8aef46
Parent:     851b667a505126110ed98ca6bfcdaee27bd50bc0
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Thu Nov 28 13:44:26 2024 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Thu Nov 28 13:44:26 2024 +0000


    Drop over-tight errorcheck.


    Broken-by: 2be52035b61a
---
 src/src/exim.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)


diff --git a/src/src/exim.c b/src/src/exim.c
index fc186704d..7a067c03f 100644
--- a/src/src/exim.c
+++ b/src/src/exim.c
@@ -4625,8 +4625,7 @@ privilege by now. Before the chdir, we try to ensure that the directory exists.
 if (Uchdir(spool_directory) != 0)
   {
   (void) directory_make(spool_directory, US"", SPOOL_DIRECTORY_MODE, FALSE);
-  if (Uchdir(spool_directory) < 0)
-    log_write(0, LOG_MAIN|LOG_PANIC_DIE, "chdir to spool: %s", strerror(errno));
+  if (Uchdir(spool_directory) < 0) ;
   }


/* Handle calls with the -bi option. This is a sendmail option to rebuild *the*

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-cvs.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-cvs-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/