Skip to content

Commit

Permalink
Ensure s3 subcommands return RC 1 on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
joguSD committed Nov 29, 2017
1 parent 156341e commit b7b113f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awscli/customizations/s3/subcommands.py
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ def run(self):
rc = 0
if files[0].num_tasks_failed > 0:
rc = 1
if files[0].num_tasks_warned > 0:
elif files[0].num_tasks_warned > 0:
rc = 2
return rc

Expand Down

0 comments on commit b7b113f

Please sign in to comment.