diff options
author | Roger Dingledine <arma@torproject.org> | 2004-12-03 23:53:35 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-12-03 23:53:35 +0000 |
commit | f79a7d8d62d9044ac6d4fad1ffcaa76bf5735f5b (patch) | |
tree | ff82ff3dc36cf31cd87f0ebabd053378d6a618b9 /src/or/config.c | |
parent | 06b1b6ef22d005c1b7355fd5de9f06396d15d385 (diff) | |
download | tor-f79a7d8d62d9044ac6d4fad1ffcaa76bf5735f5b.tar.gz tor-f79a7d8d62d9044ac6d4fad1ffcaa76bf5735f5b.zip |
while hibernating, hup should not regrow our listeners.
svn:r3067
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |