mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 06:28:19 +00:00
Return error codes on server fail
This commit is contained in:
parent
b50e7ee674
commit
b9273a9ed2
|
@ -3036,12 +3036,12 @@ int main(int argc, const char **argv) // ignore_convention
|
||||||
|
|
||||||
// run the server
|
// run the server
|
||||||
dbg_msg("server", "starting...");
|
dbg_msg("server", "starting...");
|
||||||
pServer->Run();
|
int Ret = pServer->Run();
|
||||||
|
|
||||||
// free
|
// free
|
||||||
delete pKernel;
|
delete pKernel;
|
||||||
|
|
||||||
return 0;
|
return Ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
// DDRace
|
// DDRace
|
||||||
|
|
Loading…
Reference in a new issue