mirror of
https://github.com/rclone/rclone.git
synced 2025-03-03 21:09:40 +08:00

Before this change if rclone failed to make an FTP connection for some reason it would leak a concurrency token. When all the tokens were leaked then rclone would lock up. The fix returns the concurrency token if creating the FTP connection returns an error.