diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-10-18 20:50:48 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-10-18 20:50:48 +0000 |
commit | 28275fce0361a2b721951131ef4a07f0ac0d22af (patch) | |
tree | 3c7e9bf13f434a673cde997d98b8683ff5e45658 /pxe_wizard | |
parent | b9626dc4aaf5dfce1b8cf01dee5facb4b5791df8 (diff) | |
download | drakwizard-28275fce0361a2b721951131ef4a07f0ac0d22af.tar drakwizard-28275fce0361a2b721951131ef4a07f0ac0d22af.tar.gz drakwizard-28275fce0361a2b721951131ef4a07f0ac0d22af.tar.bz2 drakwizard-28275fce0361a2b721951131ef4a07f0ac0d22af.tar.xz drakwizard-28275fce0361a2b721951131ef4a07f0ac0d22af.zip |
simplify
Diffstat (limited to 'pxe_wizard')
-rw-r--r-- | pxe_wizard/Pxe.pm | 2 |
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) { |