• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 0.X OTX 2.0

roriscrave

Advanced OT User
Joined
Dec 7, 2011
Messages
1,188
Solutions
34
Reaction score
201
i get one source and looking the files, i saw this in game.cpp

Code:
#ifndef WINDOWS
    if(g_config.getBool(ConfigManager::DAEMONIZE))
    {
        std::clog << "> Daemonization... ";
        if(fork())
        {
            std::clog << "succeed, bye!" << std::endl;
            exit(0);
        }
        else
            std::clog << "failed, continuing." << std::endl;
    }

What does this function mean? did they put a bug to crash the source?
 
Well, you should look for ConfigManager::DAEMONIZE, and fork() function, here it is only printing some lines in console

I guess fork is trying to make the process run in background
 
Back
Top