diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/keg.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index a6d9bafd1..576811fb8 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -26,7 +26,7 @@ class Keg class ConflictError < LinkError def suggestion conflict = Keg.for(dst) - rescue NotAKegError + rescue NotAKegError, Errno::ENOENT "already exists. You may want to remove it:\n rm #{dst}\n" else <<-EOS.undent |
