mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 22:18: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
|
||||
dbg_msg("server", "starting...");
|
||||
pServer->Run();
|
||||
int Ret = pServer->Run();
|
||||
|
||||
// free
|
||||
delete pKernel;
|
||||
|
||||
return 0;
|
||||
return Ret;
|
||||
}
|
||||
|
||||
// DDRace
|
||||
|
|
Loading…
Reference in a new issue