Merge pull request #15512 from Volatus/fix/cask-permissions-issue
cask/quarantine: fix exception not being caught
This commit is contained in:
commit
6f8e858bc6
@ -217,7 +217,7 @@ module Cask
|
||||
File.write(test_file, "")
|
||||
test_file.delete
|
||||
return true
|
||||
rescue Errno::EACCES
|
||||
rescue Errno::EACCES, Errno::EPERM
|
||||
# Using error handler below
|
||||
end
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user