From 48f5ec0e87c749bbdc5018c8c32795a2f74f1b5b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 8 Mar 2005 18:36:57 +0000 Subject: (load_values) fix getting value when it's defined but 0 (#14364) --- perl-install/security/msec.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/security') 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}); } -- cgit v1.2.1