summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 84b74d2e0..29269cbbd 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -41,7 +41,7 @@ sub cdroms() {
my $nb = $modules::scsi; #- this is gross!
foreach (getIDEBurners()) {
my ($e) = grep { $_->{device} eq $_ } @l or next;
- $e->{device} = "scd" . ($nb++ || '');
+ $e->{device} = "scd" . $nb++;
}
@l;
}