From: Roger Dingledine Date: Fri, 3 Dec 2004 23:53:35 +0000 (+0000) Subject: while hibernating, hup should not regrow our listeners. X-Git-Tag: tor-0.0.9rc6~22 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f79a7d8d62d9044ac6d4fad1ffcaa76bf5735f5b;p=thirdparty%2Ftor.git while hibernating, hup should not regrow our listeners. svn:r3067 --- diff --git a/src/or/config.c b/src/or/config.c index 8047723c35..6feff243b6 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -337,7 +337,7 @@ options_act(void) { if (accounting_is_enabled(options)) configure_accounting(time(NULL)); - if (retry_all_listeners(1) < 0) { + if (!we_are_hibernating() && retry_all_listeners(1) < 0) { log_fn(LOG_ERR,"Failed to bind one of the listener ports."); return -1; }