summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-06-06 02:08:12 +0000
committerMatt Wilson <msw@redhat.com>2000-06-06 02:08:12 +0000
commit3cbace6ffee3904380bdab23b0043eb62ec4f2a1 (patch)
tree7d2962ce71fc60d8b5a5c577218aacd345982087 /isys
parent032cba44fe7817711d950cb57df5d8d10cd61231 (diff)
downloadanaconda-3cbace6ffee3904380bdab23b0043eb62ec4f2a1.tar.gz
anaconda-3cbace6ffee3904380bdab23b0043eb62ec4f2a1.tar.xz
anaconda-3cbace6ffee3904380bdab23b0043eb62ec4f2a1.zip
close fd in scsi removable check
Diffstat (limited to 'isys')
-rw-r--r--isys/isys.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/isys/isys.c b/isys/isys.c
index 078abb158..b40dffa09 100644
--- a/isys/isys.c
+++ b/isys/isys.c
@@ -1263,6 +1263,8 @@ static PyObject * doIsScsiRemovable(PyObject * s, PyObject * args) {
rc = -1;
}
+ close (fd);
+
return Py_BuildValue("i", rc);
}