aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.cpp b/init.cpp
index c0b03c8775..071d254ebf 100644
--- a/init.cpp
+++ b/init.cpp
@@ -120,6 +120,9 @@ bool AppInit2(int argc, char* argv[])
sigemptyset(&sa.sa_mask);
sa.sa_flags = 0;
sigaction(SIGTERM, &sa, NULL);
+ sigaction(SIGINT, &sa, NULL);
+ sigaction(SIGHUP, &sa, NULL);
+ sigaction(SIGSEGV, &sa, NULL);
#endif
//