summaryrefslogtreecommitdiff
path: root/src/account-server/main-account.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/account-server/main-account.cpp')
-rw-r--r--src/account-server/main-account.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/account-server/main-account.cpp b/src/account-server/main-account.cpp
index dc06be96..cf743688 100644
--- a/src/account-server/main-account.cpp
+++ b/src/account-server/main-account.cpp
@@ -85,7 +85,9 @@ void initialize()
signal(SIGSEGV, SIG_DFL);
// Used to close via process signals
+#if (defined __USE_UNIX98 || defined __FreeBSD__)
signal(SIGQUIT, closeGracefully);
+#endif
signal(SIGINT, closeGracefully);
// Set enet to quit on exit.