mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
while hibernating, hup should not regrow our listeners.
svn:r3067
This commit is contained in:
parent
06b1b6ef22
commit
f79a7d8d62
@ -337,7 +337,7 @@ options_act(void) {
|
|||||||
if (accounting_is_enabled(options))
|
if (accounting_is_enabled(options))
|
||||||
configure_accounting(time(NULL));
|
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.");
|
log_fn(LOG_ERR,"Failed to bind one of the listener ports.");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user