diff --git a/cmd/crowdsec-cli/ban.go b/cmd/crowdsec-cli/ban.go index 264439446..9ec38db0a 100644 --- a/cmd/crowdsec-cli/ban.go +++ b/cmd/crowdsec-cli/ban.go @@ -271,7 +271,7 @@ func BanList() error { } else { fmt.Printf("No local decisions.\n") } - if !displayALL || !displayAPI { + if !displayAPI { fmt.Printf("And %d records from API, %d distinct AS, %d distinct countries\n", apicount, len(uniqAS), len(uniqCN)) } }