summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/network/drakfirewall.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network/drakfirewall.pm b/lib/network/drakfirewall.pm
index 6b8bbf3..659606a 100644
--- a/lib/network/drakfirewall.pm
+++ b/lib/network/drakfirewall.pm
@@ -120,8 +120,8 @@ sub default_from_pkgs {
my @pkgs = $do_pkgs->are_installed(map { split ' ', $_->{pkg} } @all_servers);
[ grep {
my $s = $_;
- exists $s->{force_default_selection} ?
- $s->{force_default_selection} :
+ exists $s->{force_default_selection} ?
+ $s->{force_default_selection} :
any { member($_, @pkgs) } split(' ', $s->{pkg});
} @all_servers ];
}