From cdd8e7b6f9fd25e6248a4dee7987ef995049aa58 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 9 Jun 2005 10:24:52 +0000 Subject: forward: (getSCSI_26) fix of by one error resulting in misdetecing USB mass storage devices (#13569) --- perl-install/detect_devices.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index df2fcfe2c..376311071 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -270,7 +270,7 @@ sub getSCSI_26() { $s; }; - my $usb_dir = readlink("$dir/block/device") =~ m!/usb! && "$dir/block/device/../../.."; + my $usb_dir = readlink("$dir/block/device") =~ m!/usb! && "$dir/block/device/../../../.."; my $get_usb = sub { chomp_(cat_("$usb_dir/$_[0]")) }; my ($device) = readlink("$dir/block") =~ m!/block/(.*)!; -- cgit v1.2.1