Message ID | 4D8D12DB.2060805@dev.mellanox.co.il (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Alex Netes |
Headers | show |
diff --git a/opensm/opensm/osm_opensm.c b/opensm/opensm/osm_opensm.c index 0de5fa4..5007dd2 100644 --- a/opensm/opensm/osm_opensm.c +++ b/opensm/opensm/osm_opensm.c @@ -273,7 +273,8 @@ void osm_opensm_destroy(IN osm_opensm_t * p_osm) cl_disp_shutdown(&p_osm->disp); /* dump SA DB */ - osm_sa_db_file_dump(p_osm); + if (p_osm->subn.opt.sa_db_dump) + osm_sa_db_file_dump(p_osm); /* do the destruction in reverse order as init */ destroy_plugins(p_osm);