From f79a7d8d62d9044ac6d4fad1ffcaa76bf5735f5b Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Fri, 3 Dec 2004 23:53:35 +0000 Subject: [PATCH] while hibernating, hup should not regrow our listeners. svn:r3067 --- src/or/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }