git://git.onelab.eu
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
command line program to both get and set a vservers disklimits
[util-vserver.git]
/
python
/
vduimpl.c
diff --git
a/python/vduimpl.c
b/python/vduimpl.c
index
fb219ff
..
2191826
100644
(file)
--- a/
python/vduimpl.c
+++ b/
python/vduimpl.c
@@
-549,6
+549,7
@@
do_vdu(PyObject *self, PyObject *args)
cwd_fd = open(".", O_RDONLY);
res = vdu_onedir(&tbl, &s, path);
fchdir(cwd_fd);
+ close(cwd_fd);
/* deallocate whatever has been added to tbl */
Dispose(&tbl);