From 7df9fd5e4291982311afa3e3062e7b3a6b2387f5 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sat, 28 Feb 2004 23:23:06 +0000 Subject: [PATCH] cwd to datadir if it's defined, rather than / this way people can get cores if they want to svn:r1171 --- trunk/src/or/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/or/main.c b/trunk/src/or/main.c index 2dacb013d9..831f0c7852 100644 --- a/trunk/src/or/main.c +++ b/trunk/src/or/main.c @@ -672,7 +672,7 @@ int tor_main(int argc, char *argv[]) { #endif if (options.RunAsDaemon) { - start_daemon(); + start_daemon(options.DataDirectory); } if(options.ORPort) { /* only spawn dns handlers if we're a router */