Skip to content

head command returns exit code 0 even on 404 #100

@ericjs

Description

@ericjs

If I run

aws head MY_BUCKET/some_object_that_doesnt_exist

I get

404 Not Found

(to stderr) however, if I then run

echo $?

I get

0

Just as I do when perform aws head on an object that does exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions