Return error codes on server fail

This commit is contained in:
ChillerDragon 2019-07-10 15:59:55 +02:00
parent b50e7ee674
commit b9273a9ed2

View file

@ -3036,12 +3036,12 @@ int main(int argc, const char **argv) // ignore_convention
// run the server
dbg_msg("server", "starting...");
pServer->Run();
int Ret = pServer->Run();
// free
delete pKernel;
return 0;
return Ret;
}
// DDRace