aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2011-03-23 18:28:50 -0400
committerJeff Garzik <jgarzik@pobox.com>2011-03-23 18:28:50 -0400
commit3a47bf72658bedf103dc75fec69d44f21fc668b5 (patch)
tree0a28892ca2327673a5d195a65a8676443e78c43c
parent8203ec4b11426b33a7f029c6f3ba3f9e9b9dc4f1 (diff)
parentc3f140033c531e9c5eae920c16fe2ecc80faa1a2 (diff)
Merge branch 'master' of git://github.com/bitcoin/bitcoin
-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
//