summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2016-06-30 07:45:55 +0000
committerAndrea Shepard <andrea@torproject.org>2016-06-30 07:45:55 +0000
commit34d9dabed18452aed6ba0d983673c8366c1b64a2 (patch)
treef484f0a097273384d18aa4f6e136dea4fc0e08cc /src
parent9580b99dab217cc14b3dab78962bfb3bfd51922a (diff)
downloadtor-34d9dabed18452aed6ba0d983673c8366c1b64a2.tar.gz
tor-34d9dabed18452aed6ba0d983673c8366c1b64a2.zip
Do sandbox_is_active() check before reconstructing dump_desc() FIFO on startup too
Diffstat (limited to 'src')
-rw-r--r--src/or/routerparse.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 2260693939..def6373357 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -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 */