From a8ee15b17c05d4b4e425723b66bdc3d008adea79 Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 24 Aug 2008 19:39:51 +0000 Subject: [PATCH] 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 --- Shorewall-perl/Shorewall/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-perl/Shorewall/Config.pm b/Shorewall-perl/Shorewall/Config.pm index 500d13e48..25234d6de 100644 --- a/Shorewall-perl/Shorewall/Config.pm +++ b/Shorewall-perl/Shorewall/Config.pm @@ -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} = ''; }