1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Be more precise about exit codes.

This commit is contained in:
Sascha L. Teichmann 2024-12-04 14:27:24 +01:00
parent 938ceb872a
commit 16e86051c5
2 changed files with 9 additions and 9 deletions

View file

@ -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 {