summaryrefslogtreecommitdiffstats
path: root/ftp_wizard
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-10-18 20:50:46 +0000
committerThierry Vignaud <tv@mageia.org>2012-10-18 20:50:46 +0000
commitb9626dc4aaf5dfce1b8cf01dee5facb4b5791df8 (patch)
tree52e617ab3c7e8667df5af4fa2864c4d0b3ad594a /ftp_wizard
parent9e1b1f92fd64c8a148d523a0bdeb675b596b4d33 (diff)
downloaddrakwizard-b9626dc4aaf5dfce1b8cf01dee5facb4b5791df8.tar
drakwizard-b9626dc4aaf5dfce1b8cf01dee5facb4b5791df8.tar.gz
drakwizard-b9626dc4aaf5dfce1b8cf01dee5facb4b5791df8.tar.bz2
drakwizard-b9626dc4aaf5dfce1b8cf01dee5facb4b5791df8.tar.xz
drakwizard-b9626dc4aaf5dfce1b8cf01dee5facb4b5791df8.zip
style: '}' just before 'else/elsif'
Diffstat (limited to 'ftp_wizard')
-rwxr-xr-xftp_wizard/Proftpd.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/ftp_wizard/Proftpd.pm b/ftp_wizard/Proftpd.pm
index 24f867ae..b2afda55 100755
--- a/ftp_wizard/Proftpd.pm
+++ b/ftp_wizard/Proftpd.pm
@@ -260,8 +260,7 @@ sub do_it {
if ($wiz_ftp_internal && !$wiz_ftp_external) {
($allow) = $wiz->{net}->itf_get("IPADDR") =~ /^(\d{1,3}\.\d{1,3}\.\d{1,3}\.)\d{1,3}$/;
$allow .= " 127.0.0.1";
- }
- elsif ($wiz_ftp_external) {
+ } elsif ($wiz_ftp_external) {
$allow = "all";
}