diff --git a/cmd/csaf_validator/main.go b/cmd/csaf_validator/main.go index 9e844b70..1a34be0d 100644 --- a/cmd/csaf_validator/main.go +++ b/cmd/csaf_validator/main.go @@ -150,7 +150,7 @@ func run(opts *options, files []string) error { } // Exit code is based on validation results - os.Exit(exitCodeAllValid) + os.Exit(exitCode) return nil }