I'm trying understand if I'm not using the right command, but I was expecting rclone to exit with an error code != 0 when doing rclone ls backend:file over an inexisting file.
Current behaviour only exists with a 0 code, like nothing happened, which renders scripting or file checking kind of very inconvenient.
Any ideas if this is expected behaviour and what should I do to validate the existance of a file in the current design?
### 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
I have just tried and it exits with code 3 or 4.
$ rclone ls onedrive:NotExisting
$ echo $?
3
Could you please post replicable example with all details?