summaryrefslogtreecommitdiffstats
path: root/ftp_wizard
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2004-08-25 14:28:48 +0000
committerAntoine Ginies <aginies@mandriva.com>2004-08-25 14:28:48 +0000
commitbf8e068003d02466c6f0638678a0c9bd7ee76dca (patch)
tree66c6936c41c31092983068c5895bc6f9288af660 /ftp_wizard
parenta0ba32ef09133863ca8c1d77fbb6b81efd01ecd1 (diff)
downloaddrakwizard-bf8e068003d02466c6f0638678a0c9bd7ee76dca.tar
drakwizard-bf8e068003d02466c6f0638678a0c9bd7ee76dca.tar.gz
drakwizard-bf8e068003d02466c6f0638678a0c9bd7ee76dca.tar.bz2
drakwizard-bf8e068003d02466c6f0638678a0c9bd7ee76dca.tar.xz
drakwizard-bf8e068003d02466c6f0638678a0c9bd7ee76dca.zip
fix typo error
Diffstat (limited to 'ftp_wizard')
-rwxr-xr-xftp_wizard/Proftpd.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftp_wizard/Proftpd.pm b/ftp_wizard/Proftpd.pm
index 4f6bb5cc..f08aba26 100755
--- a/ftp_wizard/Proftpd.pm
+++ b/ftp_wizard/Proftpd.pm
@@ -297,7 +297,7 @@ sub do_it {
} else { substInFile { s/ServerAdmin.*// } $file }
change_options($o->{var}{wiz_root_login}, "RootLogin");
- if (o->{var}{wiz_root_login} == 1) { substInFile { s/root// } "/etc/ftpusers" }
+ if ($o->{var}{wiz_root_login} == 1) { substInFile { s/root// } "/etc/ftpusers" }
change_options($o->{var}{wiz_ftp_fxp}, "AllowForeignAddress");
# in ftp resume there is two options (store or retrieve)
change_options($o->{var}{wiz_ftp_resume}, "AllowStoreRestart");