summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/probing.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c
index bddeb438d..46bc79acc 100644
--- a/mdk-stage1/probing.c
+++ b/mdk-stage1/probing.c
@@ -438,7 +438,6 @@ int net_device_available(char * device) {
s = socket(AF_INET, SOCK_DGRAM, 0);
if (s < 0) {
- close(s);
log_perror(device);
return 0;
}