summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-19 23:42:43 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-19 23:42:43 +0000
commit743ca434f43293e3701fa2671305800d0dedf877 (patch)
tree42082d4a1fb2a5f46aed85cd58c29f78f2cdcd84 /perl-install
parenta3e5822f3b437f8cf48ca20aa13a7645946ba6a0 (diff)
downloaddrakx-743ca434f43293e3701fa2671305800d0dedf877.tar
drakx-743ca434f43293e3701fa2671305800d0dedf877.tar.gz
drakx-743ca434f43293e3701fa2671305800d0dedf877.tar.bz2
drakx-743ca434f43293e3701fa2671305800d0dedf877.tar.xz
drakx-743ca434f43293e3701fa2671305800d0dedf877.zip
simplify
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/netconnect.pm6
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;