diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/utils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index ede63b5f6..9a95b3c3f 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -105,7 +105,7 @@ module Homebrew pid = fork do yield if block_given? args.collect!{|arg| arg.to_s} - exec(cmd.to_s, *args) rescue nil + exec(cmd, *args) rescue nil exit! 1 # never gets here unless exec failed end Process.wait(pid) |
