Quiet down the Perl interpreter on some boxen

This commit is contained in:
Tom Eastep 2010-06-24 13:58:46 -07:00
parent 096ede3d2a
commit 224f1798af

View File

@ -1899,9 +1899,11 @@ sub default ( $$ ) {
sub default_yes_no ( $$ ) {
my ( $var, $val ) = @_;
my $curval = "\L$config{$var}";
my $curval = $config{$var};
if ( defined $curval && $curval ne '' ) {
$curval = lc $curval;
if ( $curval eq 'no' ) {
$config{$var} = '';
} else {