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:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user