diff options
| author | Jeff Garzik <[email protected]> | 2011-03-23 18:28:50 -0400 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2011-03-23 18:28:50 -0400 |
| commit | 3a47bf72658bedf103dc75fec69d44f21fc668b5 (patch) | |
| tree | 0a28892ca2327673a5d195a65a8676443e78c43c /init.cpp | |
| parent | [locale] Regenerate es, nl binary message catalogs (diff) | |
| parent | catch SIGINT, SIGHUP and SIGSEGV and shutdown cleanly (diff) | |
| download | discoin-3a47bf72658bedf103dc75fec69d44f21fc668b5.tar.xz discoin-3a47bf72658bedf103dc75fec69d44f21fc668b5.zip | |
Merge branch 'master' of git://github.com/bitcoin/bitcoin
Diffstat (limited to 'init.cpp')
| -rw-r--r-- | init.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 // |