mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Clarify a warning about /.tor
svn:r2794
This commit is contained in:
parent
a43db78e8d
commit
9c22b428bf
@ -1905,7 +1905,7 @@ normalize_data_directory(or_options_t *options) {
|
||||
if (!options->DataDirectory && !strcmp(fn,"/.tor")) {
|
||||
/* If our homedir is /, we probably don't want to use it. */
|
||||
/* XXXX Default to /var/lib/tor? */
|
||||
log_fn(LOG_WARN, "Defaulting to %s, which may not be what you want", fn);
|
||||
log_fn(LOG_WARN, "Defaulting to 'DataDirectory %s', which may not be what you want", fn);
|
||||
}
|
||||
tor_free(options->DataDirectory);
|
||||
options->DataDirectory = fn;
|
||||
|
Loading…
Reference in New Issue
Block a user