Clarify a warning about /.tor

svn:r2794
This commit is contained in:
Nick Mathewson 2004-11-10 14:29:18 +00:00
parent a43db78e8d
commit 9c22b428bf

View File

@ -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;