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…
Reference in New Issue