diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-09-10 16:44:40 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-09-10 16:44:40 +0000 |
commit | 4b0c7955bbb4c2556b604c80d4bbd7314233a7ed (patch) | |
tree | fdad888691aaa58a3e851c39128e0cea1408f6b1 /perl-install/detect_devices.pm | |
parent | 198568aa99edbbe56a9ea085e3244521a076fb0e (diff) | |
download | drakx-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.pm | 4 |
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()); } |