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 | 3f9e22aa007f0a3300ee99c271a4de53663717e8 (patch) | |
tree | 0880704621a61a65477d48f7c879a40d0517b3ba /perl-install/detect_devices.pm | |
parent | 4fbb83b8cca0b49ec461ca40c51a7903f7ca17ef (diff) | |
download | drakx-backup-do-not-use-3f9e22aa007f0a3300ee99c271a4de53663717e8.tar drakx-backup-do-not-use-3f9e22aa007f0a3300ee99c271a4de53663717e8.tar.gz drakx-backup-do-not-use-3f9e22aa007f0a3300ee99c271a4de53663717e8.tar.bz2 drakx-backup-do-not-use-3f9e22aa007f0a3300ee99c271a4de53663717e8.tar.xz drakx-backup-do-not-use-3f9e22aa007f0a3300ee99c271a4de53663717e8.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
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 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, |