diff options
author | Adam <Adam@anope.org> | 2011-09-03 03:49:45 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-09-03 03:49:45 -0400 |
commit | f1577975a99dc93eff2dd9aa159a93a3c1cf4301 (patch) | |
tree | df016376e07b936cc02c2de64c2e1f7b1631825c /src/mail.c | |
parent | fa833766a0bf2f263e4d0bdd105cb7b4a89ebf07 (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/mail.c')
-rw-r--r-- | src/mail.c | 2 |
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 |