diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-02-14 11:08:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-02-14 11:08:47 +0000 |
commit | ae498c139796995d4bf8fce81844757b07bca62f (patch) | |
tree | 5829420f463ed483739467103df0b376351172f0 /perl-install/standalone/service_harddrake | |
parent | c7f6e08b089ffe2f95023abb671bd157916be39e (diff) | |
download | drakx-backup-do-not-use-ae498c139796995d4bf8fce81844757b07bca62f.tar drakx-backup-do-not-use-ae498c139796995d4bf8fce81844757b07bca62f.tar.gz drakx-backup-do-not-use-ae498c139796995d4bf8fce81844757b07bca62f.tar.bz2 drakx-backup-do-not-use-ae498c139796995d4bf8fce81844757b07bca62f.tar.xz drakx-backup-do-not-use-ae498c139796995d4bf8fce81844757b07bca62f.zip |
better style
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-x | perl-install/standalone/service_harddrake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index e72c8cb94..6a77d2898 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -144,7 +144,7 @@ foreach my $hw_class (@harddrake::data::tree) { $modules_conf->write; next; } elsif ($Ident eq "PCMCIA_CONTROLLER") { - $ID{none}->{driver} = '' if is_empty_hash_ref(@added) && @was_removed; + $ID{none}->{driver} = '' if is_empty_hash_ref($added[0]) && @was_removed; harddrake::autoconf::pcmcia(first(values(%ID))->{driver}); } elsif ($Ident eq "USB_CONTROLLER") { modules::load_category($modules_conf, 'bus/usb'); |