diff options
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r-- | perl-install/detect_devices.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index e0e95f465..81c488a9c 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -51,7 +51,7 @@ sub cdroms() { } @l; } -sub burners { grep { isBurner($_->{device}) } cdroms() } +sub burners { grep { $_->{type} eq 'cdrom' && isBurner($_->{device}) } get() } sub IDEburners { grep { $_->{type} eq 'cdrom' && isBurner($_->{device}) } getIDE() } sub get_mac_model() { |