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 af1e2f6c8b
commit de74273dbb

View File

@ -4865,6 +4865,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/" ) {