mirror of
https://github.com/ceph/ceph
synced 2025-03-09 17:59:10 +00:00
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:
commit
1c2b093d4b
@ -405,6 +405,7 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
|
||||
done:
|
||||
st.close();
|
||||
if (vm.count("out") && fd > 0) {
|
||||
::close(fd);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user