summaryrefslogtreecommitdiff
path: root/lib/bundler/cli/exec.rb
diff options
context:
space:
mode:
authorAsutosh Palai <asupalai@gmail.com>2016-06-27 19:16:02 +0530
committerAsutosh Palai <asupalai@gmail.com>2016-06-27 19:16:02 +0530
commit93e11fc7e3b9d067affe637c0e4c264d5b82bcd1 (patch)
treea52491d7abbd885e73fc07f7e9337d2868ecdc45 /lib/bundler/cli/exec.rb
parent17e03e5dadad9f1a9651d011417b1730e51da630 (diff)
downloadbundler-93e11fc7e3b9d067affe637c0e4c264d5b82bcd1.tar.gz
Wiping all possible signals
Diffstat (limited to 'lib/bundler/cli/exec.rb')
-rw-r--r--lib/bundler/cli/exec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli/exec.rb b/lib/bundler/cli/exec.rb
index f076e066c0..df19b15cc6 100644
--- a/lib/bundler/cli/exec.rb
+++ b/lib/bundler/cli/exec.rb
@@ -60,7 +60,7 @@ module Bundler
ui = Bundler.ui
Bundler.ui = nil
require "bundler/setup"
- trap("INT", "DEFAULT")
+ Signal.list.each {|signal| trap(signal, "DEFAULT") }
Kernel.load(file)
rescue SystemExit
raise