diff options
author | Thierry Vignaud <tv@mageia.org> | 2011-12-07 18:28:58 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2011-12-07 18:28:58 +0000 |
commit | 302c326bf7f54441cb76278ef58992143bb6a4f7 (patch) | |
tree | 0880704621a61a65477d48f7c879a40d0517b3ba | |
parent | dd705626e039997b9c0bc5de2cad8b1e0918baee (diff) | |
download | drakx-302c326bf7f54441cb76278ef58992143bb6a4f7.tar drakx-302c326bf7f54441cb76278ef58992143bb6a4f7.tar.gz drakx-302c326bf7f54441cb76278ef58992143bb6a4f7.tar.bz2 drakx-302c326bf7f54441cb76278ef58992143bb6a4f7.tar.xz drakx-302c326bf7f54441cb76278ef58992143bb6a4f7.zip |
(getSCSI) fix test, thus only overwritting model if found
broken since "(_get_hd_vendor) factorize code (needed for next commit)" on 2010-01-18
-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 3ad459054..fbe6aa27f 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -239,7 +239,7 @@ sub getSCSI() { my ($vendor, $model) = ($get->('vendor'), $get->('model')); my ($v, $m) = _get_hd_vendor($model); - if ($v && $v) { + if ($v && $m) { ($vendor, $model) = ($v, $m); } push @l, { info => $vendor . ' ' . $model, host => $host, channel => $channel, id => $id, lun => $lun, |