diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-06-09 10:24:52 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-06-09 10:24:52 +0000 |
commit | cdd8e7b6f9fd25e6248a4dee7987ef995049aa58 (patch) | |
tree | 5983078388c41a3b086d85e75aa481d21c19ae61 | |
parent | 499af60d3674384ae4bd7450b4c6a895190cf7fd (diff) | |
download | drakx-cdd8e7b6f9fd25e6248a4dee7987ef995049aa58.tar drakx-cdd8e7b6f9fd25e6248a4dee7987ef995049aa58.tar.gz drakx-cdd8e7b6f9fd25e6248a4dee7987ef995049aa58.tar.bz2 drakx-cdd8e7b6f9fd25e6248a4dee7987ef995049aa58.tar.xz drakx-cdd8e7b6f9fd25e6248a4dee7987ef995049aa58.zip |
forward: (getSCSI_26) fix of by one error resulting in misdetecing USB mass storage devices (#13569)
-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 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/(.*)!; |