Skip to content

Exit codes for diff command don't match GNU implementation #17

@oSoMoN

Description

@oSoMoN

The current implementation of main will always result in an exit code of 0, except when an error is raised, in which case the exit code will be 1.

GNU's implementation differs. Quoting the documentation:

An exit status of 0 means no differences were found, 1 means some differences were found, and 2 means trouble.

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