1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 01:46:38 +02:00

Fixed a race condition with installing signal handlers and forking

This commit is contained in:
Adam
2011-10-22 11:20:50 -04:00
parent 6ce9010324
commit ad2ef75cbe
3 changed files with 17 additions and 9 deletions
+1 -1
View File
@@ -46,7 +46,6 @@ bool nothird = false; /* -nothrid */
bool noexpire = false; /* -noexpire */
bool protocoldebug = false; /* -protocoldebug */
Anope::string binary_dir; /* Used to store base path for Anope */
static int return_code = 0;
#ifdef _WIN32
# include <process.h>
@@ -55,6 +54,7 @@ static int return_code = 0;
/* Set to 1 if we are to quit */
bool quitting = false;
int return_code = 0;
/* Set to true if we are restarting */
bool restarting = false;