Do sandbox_is_active() check before reconstructing dump_desc() FIFO on startup too

This commit is contained in:
Andrea Shepard 2016-06-30 07:45:55 +00:00
parent 9580b99dab
commit 34d9dabed1

View file

@ -6001,7 +6001,9 @@ rend_parse_client_keys(strmap_t *parsed_clients, const char *ckstr)
void
routerparse_init(void)
{
dump_desc_init();
if (!(sandbox_is_active())) {
dump_desc_init();
}
}
/** Clean up all data structures used by routerparse.c at exit */