diff options
author | teor <teor2345@gmail.com> | 2016-08-18 10:55:20 +1000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-09-13 10:13:56 -0400 |
commit | 07d32d2e68daa6ef1ba03d8121998f619c409ff5 (patch) | |
tree | 7da4ab51863d1f4a0cf74dca9ba79dfdbbc4eb03 | |
parent | 831cf6d1d8a01e0538a4f1eeadc99455237325fb (diff) | |
download | tor-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.c | 5 |
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, " |