summaryrefslogtreecommitdiffstats
path: root/ftp_wizard
diff options
context:
space:
mode:
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");