diff --git a/cmd/crowdsec/output.go b/cmd/crowdsec/output.go index 8a7c98d4058302aac0a032c2e92f2e216784a9cd..7935ea5a91dd08582a48d93b2aa85a62fc7b33dd 100644 --- a/cmd/crowdsec/output.go +++ b/cmd/crowdsec/output.go @@ -21,7 +21,7 @@ func runOutput(input chan types.Event, overflow chan types.Event, holders []leak LOOP: for { select { - case <-bucketsTomb.Dying(): + case <-outputsTomb.Dying(): log.Infof("Flushing outputs") output.FlushAll() log.Infof("Shuting down output routines")