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:
commit
282277ecbe
@ -255,7 +255,7 @@ class Pathname
|
||||
else
|
||||
false
|
||||
end
|
||||
rescue Errno::EACCES, Errno::ENOENT
|
||||
rescue Errno::EACCES, Errno::ENOENT, Errno::EBUSY
|
||||
false
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user