mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-16 19:30:44 +01:00
Fix CONFDIR handling -- Take 2
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6233 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
1b2428768e
commit
55f48d634c
@ -752,7 +752,7 @@ sub ensure_config_path( $ ) {
|
||||
|
||||
my $f = "$globals{SHAREDIR}/configpath";
|
||||
|
||||
$globals{CONFDIR} = '/usr/share/shorewall/configfiles/' if $export;
|
||||
$globals{CONFDIR} = '/usr/share/shorewall/configfiles/' if $export || $> != 0;
|
||||
|
||||
unless ( $config{CONFIG_PATH} ) {
|
||||
fatal_error "$f does not exist" unless -f $f;
|
||||
|
Loading…
Reference in New Issue
Block a user