summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-09-03 03:49:45 -0400
committerAdam <Adam@anope.org>2011-09-03 03:49:45 -0400
commitf1577975a99dc93eff2dd9aa159a93a3c1cf4301 (patch)
treedf016376e07b936cc02c2de64c2e1f7b1631825c /src
parentfa833766a0bf2f263e4d0bdd105cb7b4a89ebf07 (diff)
Use _exit, not exit, to exit mail forks to prevent our atexit() functions from being called, and removing our pidfile
Diffstat (limited to 'src')
-rw-r--r--src/mail.c2
1 files changed, 1 insertions, 1 deletions
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