Merge pull request #2914 from dachary/wip-10093-monstore-tool

mon: ceph-monstore-tool must close()

Reviewed-by: Joao Eduardo Luis <joao@redhat.com>
This commit is contained in:
João Eduardo Luís 2014-11-17 18:03:35 +00:00
commit 1c2b093d4b

View File

@ -405,6 +405,7 @@ int main(int argc, char **argv) {
}
done:
st.close();
if (vm.count("out") && fd > 0) {
::close(fd);
}