aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/update.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update.rb b/Library/Homebrew/cmd/update.rb
index eef516f8e..96d3fdd09 100644
--- a/Library/Homebrew/cmd/update.rb
+++ b/Library/Homebrew/cmd/update.rb
@@ -222,7 +222,7 @@ class Updater
out = super
if $? && !$?.success?
$stderr.puts out
- raise ErrorDuringExecution, "Failure while executing: #{cmd}"
+ raise ErrorDuringExecution.new(cmd)
end
ohai(cmd, out) if ARGV.verbose?
out