summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakgw
diff options
context:
space:
mode:
authorFlorin Grad <florin@mandriva.com>2004-03-10 15:06:14 +0000
committerFlorin Grad <florin@mandriva.com>2004-03-10 15:06:14 +0000
commitd190a261409513b2e98afe78c3a8c0c7784338b6 (patch)
tree322086ef919acf93e7a8723d8c9b4ca4e97c267f /perl-install/standalone/drakgw
parenta1c99fc55d0877aa42615c7e76be1a9573ce60c3 (diff)
downloaddrakx-backup-do-not-use-d190a261409513b2e98afe78c3a8c0c7784338b6.tar
drakx-backup-do-not-use-d190a261409513b2e98afe78c3a8c0c7784338b6.tar.gz
drakx-backup-do-not-use-d190a261409513b2e98afe78c3a8c0c7784338b6.tar.bz2
drakx-backup-do-not-use-d190a261409513b2e98afe78c3a8c0c7784338b6.tar.xz
drakx-backup-do-not-use-d190a261409513b2e98afe78c3a8c0c7784338b6.zip
fix the 8669 bug
Diffstat (limited to 'perl-install/standalone/drakgw')
-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}) {