mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
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:
parent
3effc8b267
commit
df0a141a27
@ -1006,7 +1006,8 @@ options_act(or_options_t *old_options)
|
|||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
/* XXXX020 make this conditional? */
|
/* 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:
|
/* Bail out at this point if we're not going to be a client or server:
|
||||||
|
Loading…
Reference in New Issue
Block a user