From 224f1798af687346e7aa41e3665b17898890fe51 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 24 Jun 2010 13:58:46 -0700 Subject: [PATCH] Quiet down the Perl interpreter on some boxen --- Shorewall/Perl/Shorewall/Config.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index fbfc5e491..368c260ba 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -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 {