diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/pathname+yeast.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/pathname+yeast.rb b/Library/Homebrew/pathname+yeast.rb index f0abda91e..894c26e4b 100644 --- a/Library/Homebrew/pathname+yeast.rb +++ b/Library/Homebrew/pathname+yeast.rb @@ -74,7 +74,7 @@ class Pathname def rmdir_if_possible rmdir rescue SystemCallError => e - raise unless e.errno == Errno::ENOTEMPTY::Errno + raise unless e.errno == Errno::ENOTEMPTY::Errno or e.errno == Errno::EACCES::Errno end def chmod_R perms |
