mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +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:
parent
5cf0b6224b
commit
928db6dadc
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user