aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index 03b11a2..287efbc 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -985,7 +985,7 @@ open_archive(char *filename, int *empty_archive) {
}
}
}
- close(fd);
+ close(fd); // we rely on EBADF in testsuite
return rfd;
}