diff options
Diffstat (limited to 'ext/curses/rain.rb')
-rw-r--r-- | ext/curses/rain.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curses/rain.rb b/ext/curses/rain.rb index 36f0f84de2..a6019b26e0 100644 --- a/ext/curses/rain.rb +++ b/ext/curses/rain.rb @@ -14,7 +14,7 @@ def ranf end # main # -for i in 1 .. 15 # SIGHUP .. SIGTERM +for i in %w[HUP INT QUIT TERM] if trap(i, "SIG_IGN") != 0 then # 0 for SIG_IGN trap(i) {|sig| onsig(sig) } end |