mirror of
https://github.com/rclone/rclone.git
synced 2025-03-06 10:05:13 +08:00

Before this change a race condition existed in mkdir - the directory was attempted to be created - the parent didn't exist so it failed - the parent was created - the directory was created again The last step failed as the directory was created in a different thread. This was fixed by checking the error messages of MKCOL for both directory creations, rather than only the first.