diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-04-19 23:42:43 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-04-19 23:42:43 +0000 |
commit | 743ca434f43293e3701fa2671305800d0dedf877 (patch) | |
tree | 42082d4a1fb2a5f46aed85cd58c29f78f2cdcd84 | |
parent | a3e5822f3b437f8cf48ca20aa13a7645946ba6a0 (diff) | |
download | drakx-743ca434f43293e3701fa2671305800d0dedf877.tar drakx-743ca434f43293e3701fa2671305800d0dedf877.tar.gz drakx-743ca434f43293e3701fa2671305800d0dedf877.tar.bz2 drakx-743ca434f43293e3701fa2671305800d0dedf877.tar.xz drakx-743ca434f43293e3701fa2671305800d0dedf877.zip |
simplify
-rw-r--r-- | perl-install/network/netconnect.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 55df2453b..e623cad3e 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -997,10 +997,8 @@ You can find a driver on http://eciadsl.flashtux.org/"), undef $ndiswrapper_driver; undef $ndiswrapper_device; unless (network::wireless::ndiswrapper_installed_drivers()) { - if ($ndiswrapper_driver = network::wireless::ndiswrapper_ask_driver($in)) { - return !$ndiswrapper_do_driver_selection->(); - } - return 1; + $ndiswrapper_driver = network::wireless::ndiswrapper_ask_driver($in) or return 1; + return !$ndiswrapper_do_driver_selection->(); } } 0; |