summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 8f982c94c..4d861bfac 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -295,7 +295,7 @@ sub getIDE() {
push @idi, { media_type => $type, device => basename($d),
devfs_prefix => $devfs_prefix,
info => $info, channel => $channel, id => $id, bus => 'ide',
- Vendor => $vendor, Model => $model };
+ if_($vendor, Vendor => $vendor), if_($model, Model => $model) };
}
get_devfs_devices(@idi);
get_sys_cdrom_info(@idi);