summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/detect_devices.pm2
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,