diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb index 9545110b09..1ab5f39d1a 100644 --- a/Library/Homebrew/cmd/update-report.rb +++ b/Library/Homebrew/cmd/update-report.rb @@ -258,7 +258,7 @@ module Homebrew dst = Pathname.new("#{HOMEBREW_PREFIX}/bin/brew") begin FileUtils.ln_s(src.relative_path_from(dst.parent), dst) - rescue Errno::EACCES + rescue Errno::EACCES, Errno::ENOENT ofail <<-EOS.undent Could not create symlink at #{dst}! Please do this manually with: