From f1577975a99dc93eff2dd9aa159a93a3c1cf4301 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 3 Sep 2011 03:49:45 -0400 Subject: Use _exit, not exit, to exit mail forks to prevent our atexit() functions from being called, and removing our pidfile --- src/mail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mail.c b/src/mail.c index 7f18e7d21..5b649e35d 100644 --- a/src/mail.c +++ b/src/mail.c @@ -237,7 +237,7 @@ void MailEnd(MailInfo * mail) } fclose(mail->readpipe); - exit(EXIT_SUCCESS); + _exit(EXIT_SUCCESS); } else if (pid < 0) #endif -- cgit