brew.rb: Use odie instead of onoe+exit

Closes #577.

Signed-off-by: Baptiste Fontaine <b@ptistefontaine.fr>
This commit is contained in:
Baptiste Fontaine 2016-07-23 20:49:23 +02:00
parent cd2288a561
commit 43dafc9859

View File

@ -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