From 3a59c5e2447b09360897677dc21d4fdb3bc68038 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 29 Jul 2005 05:49:57 +0000 Subject: if sysfs is broken, don't match --- perl-install/network/ndiswrapper.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- cgit v1.2.1