summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-09-10 16:44:40 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-09-10 16:44:40 +0000
commit4b0c7955bbb4c2556b604c80d4bbd7314233a7ed (patch)
treefdad888691aaa58a3e851c39128e0cea1408f6b1 /perl-install/detect_devices.pm
parent198568aa99edbbe56a9ea085e3244521a076fb0e (diff)
downloaddrakx-backup-do-not-use-4b0c7955bbb4c2556b604c80d4bbd7314233a7ed.tar
drakx-backup-do-not-use-4b0c7955bbb4c2556b604c80d4bbd7314233a7ed.tar.gz
drakx-backup-do-not-use-4b0c7955bbb4c2556b604c80d4bbd7314233a7ed.tar.bz2
drakx-backup-do-not-use-4b0c7955bbb4c2556b604c80d4bbd7314233a7ed.tar.xz
drakx-backup-do-not-use-4b0c7955bbb4c2556b604c80d4bbd7314233a7ed.zip
no_comment
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 5b6f79e41..fd98b409a 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -31,9 +31,7 @@ sub get {
sub hds() { grep { $_->{type} eq 'hd' } get(); }
sub cdroms() { grep { $_->{type} eq 'cdrom' } get(); }
sub floppies() {
- (grep {
- my $fd = tryOpen($_);
- } qw(fd0 fd1)),
+ (grep { tryOpen($_) } qw(fd0 fd1)),
(grep { $_->{type} eq 'fd' } get());
}