Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Treat EPERM as indicative of non-empty dir
As per http://sourceforge.net/mailarchive/message.php?msg_id=31240176 sshfs-mounted directories return EPERM on rmdir called with non-empty dir. Hence removing non-empty directories mounted through sshfs didn't work with rimraf, and this change makes it work.
- Loading branch information