1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 05:56:38 +02:00

Only fork if we are at term

This commit is contained in:
Adam
2011-10-20 13:38:37 -04:00
parent 1cfb630ede
commit 230b3bc884
+1 -1
View File
@@ -405,7 +405,7 @@ void Init(int ac, char **av)
if (!SupportedWindowsVersion())
throw FatalException(GetWindowsVersion() + " is not a supported version of Windows");
#else
if (!nofork)
if (!nofork && AtTerm())
{
int i = fork();
if (i > 0)