summaryrefslogtreecommitdiffstats
path: root/perl-install/network/ndiswrapper.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-07-29 05:49:57 +0000
committerOlivier Blin <oblin@mandriva.org>2005-07-29 05:49:57 +0000
commit3a59c5e2447b09360897677dc21d4fdb3bc68038 (patch)
tree8d66f3ef2908edf089e21b8b2fc8464dfdad9717 /perl-install/network/ndiswrapper.pm
parent9177b0fd02f89be8d286b91d12ab6255942865c3 (diff)
downloaddrakx-3a59c5e2447b09360897677dc21d4fdb3bc68038.tar
drakx-3a59c5e2447b09360897677dc21d4fdb3bc68038.tar.gz
drakx-3a59c5e2447b09360897677dc21d4fdb3bc68038.tar.bz2
drakx-3a59c5e2447b09360897677dc21d4fdb3bc68038.tar.xz
drakx-3a59c5e2447b09360897677dc21d4fdb3bc68038.zip
if sysfs is broken, don't match
Diffstat (limited to 'perl-install/network/ndiswrapper.pm')
-rw-r--r--perl-install/network/ndiswrapper.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/ndiswrapper.pm b/perl-install/network/ndiswrapper.pm
index e6b71f669..d135e98c4 100644
--- a/perl-install/network/ndiswrapper.pm
+++ b/perl-install/network/ndiswrapper.pm
@@ -60,7 +60,7 @@ sub find_matching_devices {
if (every { hex(chomp_(cat_("$dev_path/" . $map->{$_}))) eq $device->{$_} } keys %$map) {
my $driver = readlink("$net_path/$interface/driver");
$driver =~ s!.*/!!;
- push @devices, [ $interface, $driver ];
+ push @devices, [ $interface, $driver ] if $driver;
}
}