summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakgw2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakgw b/perl-install/standalone/drakgw
index b83fbe4fb..1383b6302 100755
--- a/perl-install/standalone/drakgw
+++ b/perl-install/standalone/drakgw
@@ -119,7 +119,7 @@ begin:
#- **********************************
#- * 0th step: verify if we are already set up
-if ($shorewall && -f "/etc/shorewall/masq") {
+if ($shorewall && -f $masq_file && grep { !/^#/ } cat_("$masq_file")) {
$::Wizard_no_previous = 1;
my $r;
if (!$shorewall->{disabled}) {