diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-11-06 19:24:03 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-11-06 19:24:03 +0000 |
commit | 12e2b5c87a379eec81c5e2d80b67493689691082 (patch) | |
tree | 102f4af9d8bcd168175a4f4dddda3e5862d82c70 /perl-install/detect_devices.pm | |
parent | 41ba541d10a02a787d5fe4974a9c389093c3b155 (diff) | |
download | drakx-backup-do-not-use-12e2b5c87a379eec81c5e2d80b67493689691082.tar drakx-backup-do-not-use-12e2b5c87a379eec81c5e2d80b67493689691082.tar.gz drakx-backup-do-not-use-12e2b5c87a379eec81c5e2d80b67493689691082.tar.bz2 drakx-backup-do-not-use-12e2b5c87a379eec81c5e2d80b67493689691082.tar.xz drakx-backup-do-not-use-12e2b5c87a379eec81c5e2d80b67493689691082.zip |
make perl_checker happy
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 365c42be7..f399efcef 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -653,7 +653,7 @@ sub whatUsbport() { # field. So use this field with priority for $model when it exists. if (($idstr =~ /MDL:([^;]+);/) || ($idstr =~ /MODEL:([^;]+);/)) { - $model = $1 if !$model; + $model ||= $1; } if ($idstr =~ /SKU:([^;]+);/) { $model = $1; |