mirror of
https://github.com/rclone/rclone.git
synced 2025-03-05 09:39:56 +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