summaryrefslogtreecommitdiffstats
path: root/lib/network/drakfirewall.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-04 23:15:04 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-04 23:15:04 +0000
commit63a6ba234e18b398b880c9cda083aef06fbf03de (patch)
tree1ababb108b7895499dba3585b3eef4fc4845f0ad /lib/network/drakfirewall.pm
parentb09c5b6bac1520a20ceda6b837fc4f59d3d0f659 (diff)
downloaddrakx-net-63a6ba234e18b398b880c9cda083aef06fbf03de.tar
drakx-net-63a6ba234e18b398b880c9cda083aef06fbf03de.tar.gz
drakx-net-63a6ba234e18b398b880c9cda083aef06fbf03de.tar.bz2
drakx-net-63a6ba234e18b398b880c9cda083aef06fbf03de.tar.xz
drakx-net-63a6ba234e18b398b880c9cda083aef06fbf03de.zip
remove last spaces
Diffstat (limited to 'lib/network/drakfirewall.pm')
-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 ];
}