mirror of
https://github.com/rclone/rclone.git
synced 2025-02-22 18:48:38 +08:00

Before this change, if the --max-duration limit was reached then rclone would retry the sync as a fatal error wasn't raised. This checks the deadline and raises a fatal error if necessary at the end of the sync. Fixes #6002