dropbox / dbxcli

A command line client for Dropbox built using the Go SDK
Other
1.05k stars 101 forks source link

Return failure exit code when there is an error #120

Open eschnett opened 5 years ago

eschnett commented 5 years ago

When dbxcli mv fails, it outputs an error message, but then returns "success" to the shell. That makes it difficult to catch errors in shell scripts. If there is an error, dbxcli should return a "failure" exit code to the shell.