Remove a duplicate non-anonymous warning log message

We log this message every time we validate tor's options.
There's no need to log a duplicate in main() as well.

(It is impossible to run main() without validating our options.)
This commit is contained in:
teor
2016-08-18 10:55:20 +10:00
committed by Nick Mathewson
parent 831cf6d1d8
commit 07d32d2e68
-5
View File
@@ -2847,11 +2847,6 @@ tor_init(int argc, char *argv[])
/* The options are now initialised */
const or_options_t *options = get_options();
if (rend_non_anonymous_mode_enabled(options)) {
log_warn(LD_GENERAL, "This copy of Tor was compiled or configured to run "
"in a non-anonymous mode. It will provide NO ANONYMITY.");
}
#ifndef _WIN32
if (geteuid()==0)
log_warn(LD_GENERAL,"You are running Tor as root. You don't need to, "