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
commit3d48d9410e91bb63d1f81f015ef804c170fa2e1a (patch)
tree8cbf61c1cc3762005cd75021024969a95d777c02
parent8588901ae85eed935c5db04ac8c7b3f4dc6fa22c (diff)
downloadopenttd-3d48d9410e91bb63d1f81f015ef804c170fa2e1a.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