diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/network/netconnect.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index aaadd6383..52d2e13b6 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -540,7 +540,7 @@ killall pppd 'sagem' => 'adiusbadsl', 'speedtouch' => 'speedtouch', ); - my $adsl_device = find { $adsl_devices{$_} eq $ntf_name } keys %adsl_devices; + my $adsl_device = (find { $adsl_devices{$_} eq $ntf_name } keys %adsl_devices) || $ntf_name; return 'adsl_unsupported_eci' if $adsl_device eq 'eci'; $netconnect::need_restart_network = member($adsl_device, qw(speedtouch eci)); $in->do_pkgs->install($packages{$adsl_device}) if $packages{$adsl_device}; |