summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-03-08 18:36:57 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-03-08 18:36:57 +0000
commit48f5ec0e87c749bbdc5018c8c32795a2f74f1b5b (patch)
treefffadfc58445de44a5df9e940c28606e53687143
parent66bd60d7b50bc080e7fa1efe3fa69df2f9f185fe (diff)
downloaddrakx-backup-do-not-use-48f5ec0e87c749bbdc5018c8c32795a2f74f1b5b.tar
drakx-backup-do-not-use-48f5ec0e87c749bbdc5018c8c32795a2f74f1b5b.tar.gz
drakx-backup-do-not-use-48f5ec0e87c749bbdc5018c8c32795a2f74f1b5b.tar.bz2
drakx-backup-do-not-use-48f5ec0e87c749bbdc5018c8c32795a2f74f1b5b.tar.xz
drakx-backup-do-not-use-48f5ec0e87c749bbdc5018c8c32795a2f74f1b5b.zip
(load_values) fix getting value when it's defined but 0 (#14364)
-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 4badf5614..e4b9da561 100644
--- a/perl-install/security/msec.pm
+++ b/perl-install/security/msec.pm
@@ -49,7 +49,7 @@ sub load_values {
chop $val;
$val =~ s/[()]//g;
chop $opt if $separator eq '\('; # $opt =~ s/ //g if $separator eq '\(';
- if_($val, $opt => $val);
+ if_(defined($val), $opt => $val);
} cat_($msec->{$category}{values_file});
}