diff options
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index 83fec4e1bb..437a75690e 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -1108,7 +1108,7 @@ options_act(or_options_t *old_options) return -1; } - if (running_tor) { + if (running_tor && directory_caches_v2_dir_info(options)) { len = strlen(options->DataDirectory)+32; fn = tor_malloc(len); tor_snprintf(fn, len, "%s"PATH_SEPARATOR"cached-status", |