Skip to content
Browse files

Only trap INT and TERM.

  • Loading branch information...
1 parent f68bd1c commit bb3f46d8f9add28ee21e52965237b147fdbe09c7 @roidrage roidrage committed Feb 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 worker_host/travis_worker/files/default/signal_wrapper.rb
2 worker_host/travis_worker/files/default/signal_wrapper.rb
@@ -7,7 +7,7 @@
child_pid = nil
-%w{INT TERM CONT}.each do |signal|
+%w{INT TERM}.each do |signal|
trap signal do
puts "Terminating child"
Process.kill(:TERM, child_pid)

0 comments on commit bb3f46d

Please sign in to comment.
Something went wrong with that request. Please try again.