summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2002-10-18 15:37:28 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2002-10-18 15:37:28 +0000
commit226f266b3f6c8487d9f8c38c55f6e3bc9adc77ad (patch)
tree6b45d010018ad44102949318701b0ded853a33f4 /perl-install
parent8d085834abd60e8ca890750352871c7f4151a735 (diff)
downloaddrakx-backup-do-not-use-226f266b3f6c8487d9f8c38c55f6e3bc9adc77ad.tar
drakx-backup-do-not-use-226f266b3f6c8487d9f8c38c55f6e3bc9adc77ad.tar.gz
drakx-backup-do-not-use-226f266b3f6c8487d9f8c38c55f6e3bc9adc77ad.tar.bz2
drakx-backup-do-not-use-226f266b3f6c8487d9f8c38c55f6e3bc9adc77ad.tar.xz
drakx-backup-do-not-use-226f266b3f6c8487d9f8c38c55f6e3bc9adc77ad.zip
remove useless 'pop'
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/netconnect.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 8277672ce..cd8ccdec0 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -78,14 +78,13 @@ sub detect {
my $modem = {};
require network::modem;
network::modem->import;
- my ($modem, @pci_modems) = detect_devices::getModem; pop @pci_modems;
+ my ($modem, @pci_modems) = detect_devices::getModem;
$modem->{device} and $auto_detect->{modem} = $modem->{device};
show_pci_modems(@pci_modems) if @pci_modems;
}
sub show_pci_modems {
my @l = map { ' - ' . $_->{description} } @_;
- pop @l;
$in->ask_warn(_("Warning"), _("You have internal winmodem(s) :\n\n%s\n\n Go to http://www.linmodem.org for further information", join ("\n", @l)));
}