Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Prevent 's3cmd get' from leaving dangling empty files on failure #98
's3cmd get' command opens destination files as 'ab' (append+write) before even trying to download. In effect, if the
This patch resolves an unwanted side-effect empty files being left by s3cmd after an error.
Should only delete files that s3cmd created.
Signed-off-by: Oren Held firstname.lastname@example.org