aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-06-18 05:52:32 +0000
committerRoger Dingledine <arma@torproject.org>2003-06-18 05:52:32 +0000
commita270a93da029fb8f9a8a54b69ac1a30067e306c8 (patch)
tree8a5c32fb40817d064dbd0f7ff3ca50ce0b838c6b
parent95e5384af3edf2804275ce97b331fcface8365f0 (diff)
downloadtor-a270a93da029fb8f9a8a54b69ac1a30067e306c8.tar
tor-a270a93da029fb8f9a8a54b69ac1a30067e306c8.tar.gz
question for nick about daemonizing
svn:r334
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 181e7d898..f81cf5d45 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -783,7 +783,7 @@ void daemonize(void) {
umask(000);
fclose(stdin);
- fclose(stdout);
+ fclose(stdout); /* XXX Nick: this closes our log, right? is it safe to leave this open? */
fclose(stderr);
}