diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-18 13:59:19 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-18 13:59:19 +0000 |
commit | e18aabc7dbea54420435d3d6639f23805ce6ce76 (patch) | |
tree | 0c3231fc062f34b59b18d932e45fc450ad194936 /signal.c | |
parent | 6da8a20bb7f7898c35e5be9ad7641f024d3dfa1b (diff) |
* signal.c (Init_signal): handle SIGTERM. fixed: [ruby-list:42895]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'signal.c')
-rw-r--r-- | signal.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -941,6 +941,9 @@ Init_signal(void) #ifdef SIGQUIT install_sighandler(SIGQUIT, sighandler); #endif +#ifdef SIGTERM + install_sighandler(SIGTERM, sighandler); +#endif #ifdef SIGALRM install_sighandler(SIGALRM, sighandler); #endif |