(svn r1172) -Fix: [Network] Pressing CTRL+C in dedicated server now closed the server

This commit is contained in:
truelight 2004-12-19 14:08:29 +00:00
parent 8c6c4e5262
commit 9bd54b592d

View File

@ -167,6 +167,7 @@ static int DedicatedVideoMainLoop()
#ifdef UNIX #ifdef UNIX
signal(SIGTERM, DedicatedSignalHandler); signal(SIGTERM, DedicatedSignalHandler);
signal(SIGINT, DedicatedSignalHandler); signal(SIGINT, DedicatedSignalHandler);
signal(SIGABRT, DedicatedSignalHandler);
#endif #endif
// Load the dedicated server stuff // Load the dedicated server stuff