summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-29 16:10:14 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-29 16:10:14 +0000
commite638d88c850333dcbc613970b792113b8588b100 (patch)
tree9b593cccb6f5ae35c83046909628aac56a743cf3 /perl-install
parent52efa4e2f9032f5f6db34b46da00dcb80cf3cee9 (diff)
downloaddrakx-e638d88c850333dcbc613970b792113b8588b100.tar
drakx-e638d88c850333dcbc613970b792113b8588b100.tar.gz
drakx-e638d88c850333dcbc613970b792113b8588b100.tar.bz2
drakx-e638d88c850333dcbc613970b792113b8588b100.tar.xz
drakx-e638d88c850333dcbc613970b792113b8588b100.zip
fix parsing of default values for multi argument msec functions
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/security/msec.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/security/msec.pm b/perl-install/security/msec.pm
index 3a705b89e..791ad8ef0 100644
--- a/perl-install/security/msec.pm
+++ b/perl-install/security/msec.pm
@@ -16,7 +16,7 @@ sub load_defaults {
my ($msec, $category) = @_;
my $separator = $msec->{$category}{def_separator};
map {
- my ($opt, $val) = split /$separator/;
+ my ($opt, $val) = split(/$separator/, $_, 2);
chop $val;
if_($opt ne 'set_security_conf', $opt => $val);
} cat_($msec->{$category}{defaults_file}), if_($category eq "checks", 'MAIL_USER');