mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 09:41:44 +08:00
93d3ae04c7
Before this change `rclone deletefile` would return error code 1 if the file it was trying to delete does not exist. Rclone can't actually tell at this point whether the file doesn't exist or what you tried to delete is a directory, but it seems more logical to return error code 4 "object not found" here. See: https://forum.rclone.org/t/rclone-deletefile-cmd-return-exit-code-1-when-file-not-found-in-remote-why-1-and-not-exit-code-4/ |
||
---|---|---|
.. | ||
deletefile.go |