mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
Be more precise about exit codes.
This commit is contained in:
parent
938ceb872a
commit
16e86051c5
2 changed files with 9 additions and 9 deletions
|
|
@ -23,10 +23,10 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
exitCodeAllValid = 0
|
||||
exitCodeSchemaInvalid = 1 << 0
|
||||
exitCodeNoRemoteValidator = 1 << 1
|
||||
exitCodeFailedRemoteValidation = 1 << 2
|
||||
exitCodeSchemaInvalid = 1 << iota
|
||||
exitCodeNoRemoteValidator
|
||||
exitCodeFailedRemoteValidation
|
||||
exitCodeAllValid = 0
|
||||
)
|
||||
|
||||
type options struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue