Skip to content

Exit status codes mixed up #215

@redcatbear

Description

@redcatbear

Description

The exit status codes of OFT don't comply with usage.txt which says.

Returns:
0 on success
1 on OFT error
2 on command line error

Steps to Reproduce

  1. Enter illegal command line option
  2. Check exit code

Expected behavior

See above.

Environment

  • OFT: 2.2.0

Additional context

This is a finding from a review of @poldi2015.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions