summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-07-09 16:23:26 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-07-09 16:23:26 +0000
commit9bff44271a4087abf44d776407ed6f79158f770b (patch)
treedec74ae642a1105adeaca51db90c9eeeee0b7063
parent74efeb065219079db2a7be12f733f857cc4a8b06 (diff)
downloaddrakx-9bff44271a4087abf44d776407ed6f79158f770b.tar
drakx-9bff44271a4087abf44d776407ed6f79158f770b.tar.gz
drakx-9bff44271a4087abf44d776407ed6f79158f770b.tar.bz2
drakx-9bff44271a4087abf44d776407ed6f79158f770b.tar.xz
drakx-9bff44271a4087abf44d776407ed6f79158f770b.zip
don't log the links we ignore when looking for scsi devices (#49406)
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/detect_devices.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 67cf8beb0..b4ce71e35 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,5 +1,6 @@
- lookup unlisted devices in /sys (or /proc) when looking for
major/minor of a device (#49339)
+- don't log the links we ignore when looking for scsi devices (#49406)
Version 12.39 - 16 Jun 2009
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 251bf4fe4..0c36dbfcc 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -203,7 +203,7 @@ sub getSCSI() {
my @l;
foreach (all($dev_dir)) {
my ($host, $channel, $id, $lun) = split ':';
- defined $lun or log::l("bad entry in $dev_dir: $_"), next;
+ defined $lun or next;
my $dir = "$dev_dir/$_";