aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2015-12-19 18:40:48 +0800
committerXu Cheng2015-12-19 22:05:30 +0800
commit430cfbb55729192dc579f333362b490448222ca6 (patch)
treea32a610a1917b53196f9279977ac641ca6c40b9d /Library
parent82eb1a4c42f14327471db0e4902192fb4defc87e (diff)
downloadbrew-430cfbb55729192dc579f333362b490448222ca6.tar.bz2
readall: allow interrupt
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/readall.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/readall.rb b/Library/Homebrew/cmd/readall.rb
index 4d575195e..141523616 100644
--- a/Library/Homebrew/cmd/readall.rb
+++ b/Library/Homebrew/cmd/readall.rb
@@ -54,6 +54,8 @@ module Homebrew
formulae.each do |file|
begin
Formulary.factory(file)
+ rescue Interrupt
+ raise
rescue Exception => e
onoe "problem in #{file}"
puts e