diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-01-02 12:28:06 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-01-02 12:28:06 +0000 |
commit | 5102f7bfa628af60f29fc9415fea466e27969980 (patch) | |
tree | 5788f5afe2e77d8e2c43cb0388101a443232c1e6 /perl-install/detect_devices.pm | |
parent | a7c35d9e1ec760d24754e6827076ee4f3fb95867 (diff) | |
download | drakx-backup-do-not-use-5102f7bfa628af60f29fc9415fea466e27969980.tar drakx-backup-do-not-use-5102f7bfa628af60f29fc9415fea466e27969980.tar.gz drakx-backup-do-not-use-5102f7bfa628af60f29fc9415fea466e27969980.tar.bz2 drakx-backup-do-not-use-5102f7bfa628af60f29fc9415fea466e27969980.tar.xz drakx-backup-do-not-use-5102f7bfa628af60f29fc9415fea466e27969980.zip |
better not dying (#20340) it looks like there do be some devices out
for which we failed to get proper data
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 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 |