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)
|
safe_system(*tap_commands)
|
||||||
exec HOMEBREW_BREW_FILE, cmd, *ARGV
|
exec HOMEBREW_BREW_FILE, cmd, *ARGV
|
||||||
else
|
else
|
||||||
onoe "Unknown command: #{cmd}"
|
odie "Unknown command: #{cmd}"
|
||||||
exit 1
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user