summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/c/stuff.xs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/c/stuff.xs.pm b/perl-install/c/stuff.xs.pm
index c115a8b0e..8e09a2490 100644
--- a/perl-install/c/stuff.xs.pm
+++ b/perl-install/c/stuff.xs.pm
@@ -280,7 +280,7 @@ hasNetDevice(device)
strcpy(req.ifr_name, device);
RETVAL = ioctl(s, SIOCGIFFLAGS, &req) == 0;
- if (!RETVAL) close(s);
+ close(s);
OUTPUT:
RETVAL