aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
Diffstat (limited to 'src/or')
-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 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 */