diff options
author | George Kadianakis <desnacked@riseup.net> | 2015-02-06 12:20:24 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-02-18 09:09:34 -0500 |
commit | 5c34a53068f5556f5648dfe522030983f552a1fd (patch) | |
tree | ff703a6d2acc24cf078422e630713925af59338d /src/or/config.c | |
parent | 33053d50a0c3a3545285bac8b6883f7c66cf748c (diff) | |
download | tor-5c34a53068f5556f5648dfe522030983f552a1fd.tar.gz tor-5c34a53068f5556f5648dfe522030983f552a1fd.zip |
Don't exit if we can't find the GuardfractionFile when booting.
...just disable the feature in that case.
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/or/config.c b/src/or/config.c index 230ea7fff8..b62b9f7e35 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -2791,13 +2791,6 @@ options_validate(or_options_t *old_options, or_options_t *options, } /* same for guardfraction file */ if (options->GuardfractionFile && !old_options) { - file_status_t fs = file_status(options->GuardfractionFile); - if (fs == FN_EMPTY) { - REJECT("GuardfractionFile set but it's an empty file? Failing"); - } else if (fs != FN_FILE) { - REJECT("GuardfractionFile set but not a file? Failing"); - } - dirserv_read_guardfraction_file(options->GuardfractionFile, NULL); } } |