Merge pull request #3702 from ilovezfs/fix-rmdir_if_possible-with-mount-points

pathname: fix rmdir_if_possible with mount points
This commit is contained in:
Mike McQuaid 2018-01-21 14:51:06 +00:00 committed by GitHub
commit 282277ecbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -255,7 +255,7 @@ class Pathname
else
false
end
rescue Errno::EACCES, Errno::ENOENT
rescue Errno::EACCES, Errno::ENOENT, Errno::EBUSY
false
end