Assume EXPORTMODULES=No if it doesn't exist in old file during update

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2015-08-27 15:15:03 -07:00
parent be81ace811
commit df73f4b925

View File

@ -4805,6 +4805,8 @@ sub update_config_file( $$ ) {
$config{USE_DEFAULT_RT} = 'No' unless defined $config{USE_DEFAULT_RT}; $config{USE_DEFAULT_RT} = 'No' unless defined $config{USE_DEFAULT_RT};
$config{EXPORTMODULES} = 'No' unless defined $config{EXPORTMODULES};
my $fn; my $fn;
unless ( -d "$globals{SHAREDIR}/configfiles/" ) { unless ( -d "$globals{SHAREDIR}/configfiles/" ) {