Don't complain about missing LOCKFILE directory when compiling for export

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8679 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-08-24 19:39:51 +00:00
parent 336c344e19
commit a8ee15b17c

View File

@ -2031,7 +2031,7 @@ sub get_configuration( $ ) {
die $@ if $@;
fatal_error "LOCKFILE=$config{LOCKFILE}: Directory $dir does not exist" unless -d $dir;
fatal_error "LOCKFILE=$config{LOCKFILE}: Directory $dir does not exist" unless $export or -d $dir;
} else {
$config{LOCKFILE} = '';
}