mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
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:
@@ -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, "
|
||||
|
||||
Reference in New Issue
Block a user