summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 5aab1bc12..c33fb80ac 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -292,7 +292,7 @@ sub getSCSI_26() {
# handle both old and new kernels:
my $node = -e "$dir/block" ? "$dir/block" : top(glob_("$dir/block*"));
my ($device) = readlink($node) =~ m!/block/(.*)!;
- die "cannot get info for device ($host, $channel, $id, $lun)" if !$device;
+ warn "cannot get info for device ($host, $channel, $id, $lun)" if !$device;
my $media_type = ${{ st => 'tape', sr => 'cdrom', sd => 'hd' }}{substr($device, 0, 2)};
# Old hp scanners report themselves as "Processor"s