From 605e10a650ee05c9b019ff3b8f4edfb3b6ad8f16 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 2 Jun 2004 19:18:37 +0000 Subject: Stop multiplying logs on sighup. svn:r1936 --- src/or/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/or') diff --git a/src/or/main.c b/src/or/main.c index b63dd1439..7f2c309c0 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -608,6 +608,7 @@ static int do_hup(void) { log_fn(LOG_NOTICE,"Received sighup. Reloading config."); has_completed_circuit=0; + mark_logs_temp(); /* Close current logs once new logs are open. */ /* first, reload config variables, in case they've changed */ /* no need to provide argc/v, they've been cached inside init_from_config */ if (init_from_config(0, NULL) < 0) { -- cgit v1.2.3