You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sync with wrong object name fails but exits successfully #869
When I try to sync an s3 object file with a local folder that doesn't exist, it throws an error message but still exits successfully (0 exit code).
Here are the code to reproduce :
Root cause: sync only surfaced errors from the executed cp/rm subcommands; anything printed while listing or planning (no object found, Glacier objects, sort failures) was dropped from the exit code. Fixed in terryrankine/s5cmd (terryrankine#18): every printed ERROR now makes sync exit 1. Released in v2.4.1 of that fork; upstream PR to follow once #879–#886 get a review.
Activity
terryrankine commentedon Sep 18, 2026
Root cause:
synconly surfaced errors from the executed cp/rm subcommands; anything printed while listing or planning (no object found, Glacier objects, sort failures) was dropped from the exit code. Fixed in terryrankine/s5cmd (terryrankine#18): every printed ERROR now makes sync exit 1. Released in v2.4.1 of that fork; upstream PR to follow once #879–#886 get a review.