From de74273dbbbfeed7b12c282c69359771889a74a1 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 27 Aug 2015 15:15:03 -0700 Subject: [PATCH] Assume EXPORTMODULES=No if it doesn't exist in old file during update Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Config.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index 6fa825724..e5d34cf0a 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -4865,6 +4865,8 @@ sub update_config_file( $$ ) { $config{USE_DEFAULT_RT} = 'No' unless defined $config{USE_DEFAULT_RT}; + $config{EXPORTMODULES} = 'No' unless defined $config{EXPORTMODULES}; + my $fn; unless ( -d "$globals{SHAREDIR}/configfiles/" ) {