Merge pull request #83153 from ciil/fail2ban-warning
fail2ban: fix firewall warning
This commit is contained in:
commit
e65c411356
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue