Skip to content

Commit

Permalink
Only trap INT and TERM.
Browse files Browse the repository at this point in the history
  • Loading branch information
roidrage committed Feb 26, 2013
1 parent f68bd1c commit bb3f46d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker_host/travis_worker/files/default/signal_wrapper.rb
Expand Up @@ -7,7 +7,7 @@


child_pid = nil child_pid = nil


%w{INT TERM CONT}.each do |signal| %w{INT TERM}.each do |signal|
trap signal do trap signal do
puts "Terminating child" puts "Terminating child"
Process.kill(:TERM, child_pid) Process.kill(:TERM, child_pid)
Expand Down

0 comments on commit bb3f46d

Please sign in to comment.