From df73f4b9253c16a8a19328ef4c29ee6de1c24c78 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 98327005a..ec71b5a0a 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -4805,6 +4805,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/" ) {