summaryrefslogtreecommitdiffstats
path: root/dns_wizard/Bind.pm
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 /dns_wizard/Bind.pm
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 'dns_wizard/Bind.pm')
-rw-r--r--dns_wizard/Bind.pm16
1 files changed, 10 insertions, 6 deletions
diff --git a/dns_wizard/Bind.pm b/dns_wizard/Bind.pm
index 3bd71e8b..4f71f299 100644
--- a/dns_wizard/Bind.pm
+++ b/dns_wizard/Bind.pm
@@ -108,12 +108,16 @@ $o->{pages} = {
},
post => sub {
if ($o->{var}{wiz_level} == 2) {
- return 'slave' }
- elsif ($o->{var}{wiz_level} == 1) {
- return 'interface' }
- elsif ($o->{var}{wiz_level} == 3) {
- if (-f $sys_wizard_dns) { return 'addhost' } else { return 'error_notmaster' } }
- elsif ($o->{var}{wiz_level} == 4) {
+ return 'slave';
+ } elsif ($o->{var}{wiz_level} == 1) {
+ return 'interface';
+ } elsif ($o->{var}{wiz_level} == 3) {
+ if (-f $sys_wizard_dns) {
+ return 'addhost';
+ } else {
+ return 'error_notmaster';
+ }
+ } elsif ($o->{var}{wiz_level} == 4) {
if (-f $sys_wizard_dns) { return 'removehost' } else { return 'error_notmaster' } }
},
data => [