mirror of
https://github.com/rclone/rclone.git
synced 2024-11-23 00:43:49 +01:00
f14871caf7
Before this change the exit code for transfer limit exceeded was incorrect. This was because the `resolveExitCode` function unwraps the error thus reading the underlying error which is not the same as the error it was comparing to (`ErrorMaxTransferLimitReached`). This change fixes it by splitting the error definition in two so that when the Fatal error is unwrapped we match against `ErrorMaxTransferLimitReached` however when we return the error we return `ErrorMaxTransferLimitReachedFatal`. |
||
---|---|---|
.. | ||
accounting_other.go | ||
accounting_test.go | ||
accounting_unix.go | ||
accounting.go | ||
inprogress.go | ||
prometheus.go | ||
stats_groups_test.go | ||
stats_groups.go | ||
stats_test.go | ||
stats.go | ||
stringset.go | ||
token_bucket_test.go | ||
token_bucket.go | ||
transfer.go |