Skip to content

Commit

Permalink
Fix: return correct exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
koplas committed Dec 10, 2024
1 parent 16e8605 commit df65ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/csaf_validator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit df65ad1

Please sign in to comment.