Browse Source

r14740@catbus: nickm | 2007-08-20 13:00:52 -0400
Only load MTBF data if we are running tor


svn:r11226

Nick Mathewson 18 years ago
parent
commit
df0a141a27
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/or/config.c

+ 2 - 1
src/or/config.c

@@ -1006,7 +1006,8 @@ options_act(or_options_t *old_options)
       return -1;
 
     /* XXXX020 make this conditional? */
-    rep_hist_load_mtbf_data(time(NULL));
+    if (options->command == CMD_RUN_TOR)
+      rep_hist_load_mtbf_data(time(NULL));
   }
 
   /* Bail out at this point if we're not going to be a client or server: