From b3471bbc55ca31a35f59536f2b2186d583c0d591 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 15 Oct 2003 19:27:51 +0000 Subject: closing stdout *should* be safe (we'll see) svn:r601 --- src/or/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/or/main.c b/src/or/main.c index b00b6df68..49045ed5b 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -752,7 +752,7 @@ void daemonize(void) { umask(000); fclose(stdin); - fclose(stdout); /* XXX Nick: this closes our log, right? is it safe to leave this open? */ + fclose(stdout); fclose(stderr); #endif } -- cgit v1.2.3