brew.rb: Use odie instead of onoe+exit
Closes #577. Signed-off-by: Baptiste Fontaine <b@ptistefontaine.fr>
This commit is contained in:
parent
cd2288a561
commit
43dafc9859
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user