mirror of
https://github.com/SSLMate/certspotter.git
synced 2025-07-03 10:47:17 +02:00
modified: ../common.go
This commit is contained in:
parent
ca4419d65c
commit
befa547c3b
@ -347,11 +347,13 @@ func Main(statePath string, processCallback certspotter.ProcessCallback) int {
|
||||
go processLog(&logs[i], processCallback)
|
||||
}
|
||||
|
||||
wg.Wait()
|
||||
go func() {
|
||||
for i := range rcode {
|
||||
exitCode |= i
|
||||
}
|
||||
}()
|
||||
|
||||
for i := range rcode {
|
||||
exitCode |= i
|
||||
}
|
||||
wg.Wait()
|
||||
|
||||
if state.IsFirstRun() && exitCode == 0 {
|
||||
if err := state.WriteOnceFile(); err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user