Skip to content

Needs nonzero exit status on error #2

@erayd

Description

@erayd

Expected behavior:

On error, exits with a nonzero error code.

Actual behavior:

Exits with zero regardless of success or failure.

Why this is a problem:

Causes issues with scripts which rely on the exit status of gput (e.g. as part of a pipeline), as they cannot easily determine whether it has failed without additional processing of the JSON output.

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