mirror of
https://github.com/rclone/rclone.git
synced 2026-10-10 06:55:45 -04:00
The deferred cleanup in the constructor checked a local error variable
rather than the error being returned, so failures after the VFS was
created (such as an invalid --passive-port) never shut it down. Name
the error return so the cleanup sees the returned error.
(cherry picked from commit 9b9fd3f493)