diff options
author | Roger Dingledine <arma@torproject.org> | 2004-02-28 23:23:06 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-02-28 23:23:06 +0000 |
commit | 928db6dadc7609213247f1fd6a39884e7b66eaa1 (patch) | |
tree | 1b6a58727b56d606a7157e72f4f7e6bd70738b57 | |
parent | 5cf0b6224b6b3bcebb342b90f8bf2df819c59c9c (diff) | |
download | tor-928db6dadc7609213247f1fd6a39884e7b66eaa1.tar tor-928db6dadc7609213247f1fd6a39884e7b66eaa1.tar.gz |
cwd to datadir if it's defined, rather than /
this way people can get cores if they want to
svn:r1171
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index 2dacb013d..831f0c785 100644 --- a/src/or/main.c +++ b/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 */ |