Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new SUCCESS_CODES configuration #4

Merged
merged 3 commits into from
Jul 20, 2023
Merged

Conversation

dantebarba
Copy link
Owner

@dantebarba dantebarba commented Jul 14, 2023

  • Success codes are configured by the "SUCCESS_CODES" env var
  • By default the value is "0"
  • Other codes can be specified List of exit codes
    0 - success
    1 - Syntax or usage error
    2 - Error not otherwise categorised
    3 - Directory not found
    4 - File not found
    5 - Temporary error (one that more retries might fix) (Retry errors)
    6 - Less serious errors (like 461 errors from dropbox) (NoRetry errors)
    7 - Fatal error (one that more retries won't fix, like account suspended) (Fatal errors)
    8 - Transfer exceeded - limit set by --max-transfer reached
    9 - Operation successful, but no files transferred

+ Success codes are configured by the "SUCCESS_CODES" env var
+ By default the value is "0"
+ Other codes can be specified
List of exit codes
0 - success
1 - Syntax or usage error
2 - Error not otherwise categorised
3 - Directory not found
4 - File not found
5 - Temporary error (one that more retries might fix) (Retry errors)
6 - Less serious errors (like 461 errors from dropbox) (NoRetry errors)
7 - Fatal error (one that more retries won't fix, like account suspended) (Fatal errors)
8 - Transfer exceeded - limit set by --max-transfer reached
9 - Operation successful, but no files transferred
@dantebarba dantebarba added the enhancement New feature or request label Jul 14, 2023
@dantebarba dantebarba self-assigned this Jul 14, 2023
@dantebarba
Copy link
Owner Author

closes #1

@dantebarba
Copy link
Owner Author

--max-duration will have code 10

rclone/rclone#7137

@dantebarba dantebarba merged commit a4c33f2 into master Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant