summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-19 14:08:29 +0000
committertruelight <truelight@openttd.org>2004-12-19 14:08:29 +0000
commit9bd54b592d5fe1b7623c7c009de7202cf153a23a (patch)
tree8cbf61c1cc3762005cd75021024969a95d777c02
parent8c6c4e5262a0712081c421bfc8c8c00949982156 (diff)
downloadopenttd-9bd54b592d5fe1b7623c7c009de7202cf153a23a.tar.xz
(svn r1172) -Fix: [Network] Pressing CTRL+C in dedicated server now closed the server
-rw-r--r--dedicated.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dedicated.c b/dedicated.c
index 7c797df84..f09b37f99 100644
--- a/dedicated.c
+++ b/dedicated.c
@@ -167,6 +167,7 @@ static int DedicatedVideoMainLoop()
#ifdef UNIX
signal(SIGTERM, DedicatedSignalHandler);
signal(SIGINT, DedicatedSignalHandler);
+ signal(SIGABRT, DedicatedSignalHandler);
#endif
// Load the dedicated server stuff