aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/utils.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index 6f2d10aeb..412a7dbc0 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -58,9 +58,7 @@ def opoo warning
end
def onoe error
- lines = error.to_s.split("\n")
- STDERR.puts "#{Tty.red}Error#{Tty.reset}: #{lines.shift}"
- STDERR.puts lines unless lines.empty?
+ STDERR.puts "#{Tty.red}Error#{Tty.reset}: #{error}"
end
def ofail error