summaryrefslogtreecommitdiffstats
path: root/pxe_wizard/Pxe.pm
diff options
context:
space:
mode:
Diffstat (limited to 'pxe_wizard/Pxe.pm')
-rw-r--r--pxe_wizard/Pxe.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/pxe_wizard/Pxe.pm b/pxe_wizard/Pxe.pm
index 04c85572..4012d698 100644
--- a/pxe_wizard/Pxe.pm
+++ b/pxe_wizard/Pxe.pm
@@ -113,7 +113,7 @@ $o->{pages} = {
$o->{var}{wiz_level} ||= 1;
},
post => sub {
- if (! -f "$X86/drakwizard_pxe") { return 'pxeserver' }
+ return 'pxeserver' if ! -f "$X86/drakwizard_pxe";
if ($o->{var}{wiz_level} == 1) {
return 'pxeserver';
} elsif ($o->{var}{wiz_level} == 4) {