Преглед на файлове

while hibernating, hup should not regrow our listeners.

svn:r3067
Roger Dingledine преди 21 години
родител
ревизия
f79a7d8d62
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/or/config.c

+ 1 - 1
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;
   }