summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-06-10 15:18:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-06-10 15:18:43 +0000
commit3ed3423a6b5d503c99626d2ad2d82e25587ba57d (patch)
tree9707e882d15f8d0ac5333429e6aa48fc65b30707 /perl-install
parent807a80de36216fa890531f1dfa61f79432096238 (diff)
downloaddrakx-backup-do-not-use-3ed3423a6b5d503c99626d2ad2d82e25587ba57d.tar
drakx-backup-do-not-use-3ed3423a6b5d503c99626d2ad2d82e25587ba57d.tar.gz
drakx-backup-do-not-use-3ed3423a6b5d503c99626d2ad2d82e25587ba57d.tar.bz2
drakx-backup-do-not-use-3ed3423a6b5d503c99626d2ad2d82e25587ba57d.tar.xz
drakx-backup-do-not-use-3ed3423a6b5d503c99626d2ad2d82e25587ba57d.zip
perl_checker compliance
Diffstat (limited to 'perl-install')
-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 034b60f23..be21dac4b 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -509,7 +509,7 @@ sub getNet() {
# - get_netdevices() use the SIOCGIFCONF ioctl that does not list interfaces that are down
# - /proc/net/dev does not list VLAN and IP aliased interfaces
- grep { $_ !~ /^(?:lo|ippp|isdn|plip|ppp|sit0)/ }
+ grep { !/^(?:lo|ippp|isdn|plip|ppp|sit0)/ }
uniq(
(map { if_(/^\s*([A-Za-z0-9:\.]*):\s/, $1) } cat_("/proc/net/dev")),
c::get_netdevices(),