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,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: