aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBaptiste Fontaine2016-07-23 20:49:23 +0200
committerBaptiste Fontaine2016-07-24 22:05:37 +0200
commit43dafc9859e415ac85c4a082b23ceadd5813c196 (patch)
tree5ccdd99af2cc4887dc12962423b61a56c36f532a /Library
parentcd2288a5610598295d2e54e4aefb8ac9064c3f04 (diff)
downloadbrew-43dafc9859e415ac85c4a082b23ceadd5813c196.tar.bz2
brew.rb: Use odie instead of onoe+exit
Closes #577. Signed-off-by: Baptiste Fontaine <b@ptistefontaine.fr>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/brew.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/brew.rb b/Library/Homebrew/brew.rb
index 9d29f4396..0244be621 100644
--- a/Library/Homebrew/brew.rb
+++ b/Library/Homebrew/brew.rb
@@ -107,8 +107,7 @@ begin
safe_system(*tap_commands)
exec HOMEBREW_BREW_FILE, cmd, *ARGV
else
- onoe "Unknown command: #{cmd}"
- exit 1
+ odie "Unknown command: #{cmd}"
end
end