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

Check for being at terminal before forking

This commit is contained in:
Adam
2011-10-09 21:29:34 -04:00
parent 9f850334a1
commit 0e012f73d4
+1 -1
View File
@@ -320,7 +320,7 @@ void Server::Sync(bool SyncLinks)
c->ci->RestoreTopic();
}
if (!nofork)
if (!nofork && AtTerm())
{
Log(LOG_TERMINAL) << "Successfully linked, launching into background...";
Fork();