Eg. # s3cmd.rb get bucket:file/that/does/not/exist local.txt S3 command failed: get_stream file/that/does/not/exist #<File:0xb7907588> With result 404 Not Found
# echo $? 0
Since an error occured I would expect 1 to be returned. Also local.txt is created, I don't think this should happen if the file does not exist.
I had to write a horrible hack in my bash script to work around the issue.
|