summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
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;