Skip to content

s3cmd NoSuchBucket exit code should not be 0 #1432

@antoinetran

Description

@antoinetran

Same issue as #1190 for an bucket not found:

> s3cmd setlifecycle ./lifecycle-delete-incomplete-multipart-uploads.xml s3://whatever
ERROR: S3 error: 404 (NoSuchBucket)
> echo $?
0

Expected result: exit code should be anything but 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions