forked from extern/shorewall_code
Make use of USE_LOCAL_MODULES independent of export
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
28eca3fb21
commit
106f23634c
@ -336,7 +336,7 @@ sub generate_script_3($) {
|
||||
|
||||
save_progress_message 'Initializing...';
|
||||
|
||||
if ( $export ) {
|
||||
if ( $export || $config{USE_LOCAL_MODULES} ) {
|
||||
my $fn = find_file( $config{LOAD_HELPERS_ONLY} ? 'helpers' : 'modules' );
|
||||
|
||||
if ( -f $fn && ( $config{USE_LOCAL_MODULES} || ! $fn =~ "^$globals{SHAREDIR}/" ) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user