1 Commits

Author SHA1 Message Date
9cddc4c83e better erroring 2025-11-11 18:07:33 -05:00

View File

@@ -117,8 +117,8 @@ func main() {
}
}
if strings.EqualFold(os.Getenv("FAIL_ON_FATAL"), "yes") {
os.Exit(fatalCount)
if strings.EqualFold(os.Getenv("FAIL_ON_FATAL"), "yes") && fatalCount > 0 {
os.Exit(1)
}
}