Skip to content
Snippets Groups Projects
Commit 1e415817 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

minor fix

svn:r2215
parent bf141915
No related branches found
No related tags found
No related merge requests found
...@@ -754,8 +754,7 @@ static int do_hup(void) { ...@@ -754,8 +754,7 @@ static int do_hup(void) {
/* Restart cpuworker and dnsworker processes, so they get up-to-date /* Restart cpuworker and dnsworker processes, so they get up-to-date
* configuration options. */ * configuration options. */
cpuworkers_rotate(); cpuworkers_rotate();
if (server_mode()) dnsworkers_rotate();
dnsworkers_rotate();
/* Rebuild fresh descriptor as needed. */ /* Rebuild fresh descriptor as needed. */
router_rebuild_descriptor(); router_rebuild_descriptor();
sprintf(keydir,"%s/router.desc", get_data_directory(&options)); sprintf(keydir,"%s/router.desc", get_data_directory(&options));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment