mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-19 09:50:29 +01:00
Tolerate starting up with missing hidden service directory
Fixes bug 14106; bugfix on 0.2.6.2-alpha Found by stem tests.
This commit is contained in:
parent
fc0febc5c6
commit
276700131a
4
changes/bug14106
Normal file
4
changes/bug14106
Normal file
@ -0,0 +1,4 @@
|
||||
o Minor bugfixes (hidden services):
|
||||
- Successfully launch Tor with a nonexistent hidden service directory.
|
||||
Our fix for bug 13942 didn't catch this case. Fixes bug 14106;
|
||||
bugfix on 0.2.6.2-alpha.
|
@ -531,7 +531,7 @@ rend_config_services(const or_options_t *options, int validate_only)
|
||||
}
|
||||
}
|
||||
if (service) {
|
||||
cpd_check_t check_opts = CPD_CHECK_MODE_ONLY;
|
||||
cpd_check_t check_opts = CPD_CHECK_MODE_ONLY|CPD_CHECK;
|
||||
if (service->dir_group_readable) {
|
||||
check_opts |= CPD_GROUP_READ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user