mirror of
https://github.com/ceph/ceph
synced 2024-12-18 09:25:49 +00:00
mon: ceph-monstore-tool must close()
Otherwise it asserts because the destructor checks for the is_open flag. http://tracker.ceph.com/issues/10093 Fixes: #10093 Signed-off-by: Loic Dachary <ldachary@redhat.com>
This commit is contained in:
parent
5ce09198bf
commit
1cd7422a3b
@ -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