]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
while hibernating, hup should not regrow our listeners.
authorRoger Dingledine <arma@torproject.org>
Fri, 3 Dec 2004 23:53:35 +0000 (23:53 +0000)
committerRoger Dingledine <arma@torproject.org>
Fri, 3 Dec 2004 23:53:35 +0000 (23:53 +0000)
svn:r3067

src/or/config.c

index 8047723c357d799b804e04f867fe38e5178af74b..6feff243b630967450231915e1e251703e0a1a1a 100644 (file)
@@ -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;
   }