while hibernating, hup should not regrow our listeners.

svn:r3067
This commit is contained in:
Roger Dingledine 2004-12-03 23:53:35 +00:00
parent 06b1b6ef22
commit f79a7d8d62

View 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;
}