mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
cwd to datadir if it's defined, rather than /
this way people can get cores if they want to svn:r1171
This commit is contained in:
+1
-1
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user