Skip to content

Commit

Permalink
Make documentation more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
koplas committed Jan 7, 2025
1 parent bc5d149 commit 8fc7f5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/csaf_validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
is a tool to validate local advisories files against the JSON Schema and an optional remote validator.

### Exit codes

If no fatal error occurs the program will exit with an exit code `n` with the following conditions:

- `n == 0`: all valid
- `(n & 1) > 0`: general error, see logs
- `(n & 1) > 0`: a general error occurred, all other flags are unset (see logs for more information)
- `(n & 2) > 0`: schema validation failed
- `(n & 4) > 0`: no remote validator configured
- `(n & 8) > 0`: failure in remote validation
Expand Down

0 comments on commit 8fc7f5b

Please sign in to comment.