Commit c44413c5 authored by Michael Stapelberg's avatar Michael Stapelberg

Exit with exit code 1 on failures

parent b094f0a6
......@@ -367,9 +367,16 @@ func main() {
src, result.logFile, result.recheckLogFile)
}
}
failures := false
for src, result := range buildresults {
if result.err != nil && result.recheckErr == nil {
log.Printf("FAILED: %s (see %s)\n", src, result.logFile)
failures = true
}
}
if failures {
os.Exit(1)
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment