summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2016-08-18 10:55:20 +1000
committerNick Mathewson <nickm@torproject.org>2016-09-13 10:13:56 -0400
commit07d32d2e68daa6ef1ba03d8121998f619c409ff5 (patch)
tree7da4ab51863d1f4a0cf74dca9ba79dfdbbc4eb03
parent831cf6d1d8a01e0538a4f1eeadc99455237325fb (diff)
downloadtor-07d32d2e68daa6ef1ba03d8121998f619c409ff5.tar.gz
tor-07d32d2e68daa6ef1ba03d8121998f619c409ff5.zip
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.)
-rw-r--r--src/or/main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 48c9f57fb0..7ac1c1c4f2 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -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, "