r14740@catbus: nickm | 2007-08-20 13:00:52 -0400

Only load MTBF data if we are running tor


svn:r11226
This commit is contained in:
Nick Mathewson 2007-08-20 17:02:04 +00:00
parent 3effc8b267
commit df0a141a27

View File

@ -1006,6 +1006,7 @@ options_act(or_options_t *old_options)
return -1; return -1;
/* XXXX020 make this conditional? */ /* XXXX020 make this conditional? */
if (options->command == CMD_RUN_TOR)
rep_hist_load_mtbf_data(time(NULL)); rep_hist_load_mtbf_data(time(NULL));
} }