Merge pull request #83153 from ciil/fail2ban-warning

fail2ban: fix firewall warning
This commit is contained in:
Maximilian Bosch 2020-03-23 00:42:36 +01:00 committed by GitHub
commit e65c411356
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -216,7 +216,7 @@ in
config = mkIf cfg.enable {
warnings = mkIf (config.networking.firewall.enable == false || config.networking.nftables.enable == false) [
warnings = mkIf (config.networking.firewall.enable == false && config.networking.nftables.enable == false) [
"fail2ban can not be used without a firewall"
];